repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
Ludii | Ludii-master/Core/src/game/match/Games.java | package game.match;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import annotations.Or;
import other.BaseLudeme;
/**
* Defines the games used in a match.
*
* @author Eric.Piette
*/
public class Games extends BaseLudeme implements Serializable
{
private static final long seria... | 1,708 | 20.632911 | 84 | java |
Ludii | Ludii-master/Core/src/game/match/Match.java | package game.match;
import java.text.DecimalFormat;
import java.util.BitSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.equipment.Equipment;
import game.equipment.component.Component;
im... | 26,922 | 32.69587 | 189 | java |
Ludii | Ludii-master/Core/src/game/match/Subgame.java | package game.match;
import java.io.Serializable;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import other.BaseLudeme;
/**
* Defines an instance game of a match.
*
* @author Eric.Piette
*/
public final class Subgame extends B... | 4,860 | 20.227074 | 107 | java |
Ludii | Ludii-master/Core/src/game/match/package-info.java | /**
* {\it Matches} are composed of multiple {\it instances} of component games.
* Each match maintains additional state information beyond that stored for each of its component games,
* and is effectively a super-game whose result is determined by the results of its sub-games.
*/
package game.match;
| 309 | 43.285714 | 105 | java |
Ludii | Ludii-master/Core/src/game/mode/Mode.java | package game.mode;
import java.io.Serializable;
import java.util.BitSet;
import game.Game;
import game.types.play.ModeType;
import other.BaseLudeme;
import other.model.AlternatingMove;
import other.model.Model;
import other.model.SimulationMove;
import other.model.SimultaneousMove;
import other.playout.Playout;
/**
... | 2,141 | 16.274194 | 76 | java |
Ludii | Ludii-master/Core/src/game/mode/package-info.java | /**
* The {\it mode} of a game refers to the way it is played.
* Ludii supports the following modes of play:
*
* \begin{itemize}
* \item {\it Alternating}: Players take turns making discrete moves.
* \item {\it Simultaneous}: Players move at the same time.
* \end{itemize}
*/
package game.mode;
| 305 | 26.818182 | 69 | java |
Ludii | Ludii-master/Core/src/game/players/Player.java | package game.players;
import java.awt.Color;
import java.io.Serializable;
import java.util.BitSet;
import game.Game;
import game.util.directions.DirectionFacing;
import gnu.trove.list.array.TIntArrayList;
import other.BaseLudeme;
import other.concept.Concept;
/**
* A player of the game.
*
* @author cambolbro and... | 4,524 | 17.545082 | 96 | java |
Ludii | Ludii-master/Core/src/game/players/Players.java | package game.players;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collections;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import exception.LimitPlayerException;
import game.Game;
import main.Constants;
import other.Base... | 5,752 | 21.920319 | 99 | java |
Ludii | Ludii-master/Core/src/game/players/package-info.java | /**
* The {\it players} of a game are the entities that compete within the game according to its rules.
* Players can be:
*
* \begin{itemize}
* \item {\it Human}: i.e. you!
* \item {\it AI}: Artificial intelligence agents.
* \item {\it Remote}: Remote players over a network, which may be Human or AI.
* \end{i... | 838 | 45.611111 | 133 | java |
Ludii | Ludii-master/Core/src/game/rules/Rule.java | package game.rules;
import game.types.state.GameType;
import other.Ludeme;
import other.context.Context;
/**
* Defines a rule of the game.
*
* @author cambolbro
*/
public interface Rule extends GameType, Ludeme
{
/**
* @param context
*/
public void eval(final Context context);
}
| 293 | 14.473684 | 46 | java |
Ludii | Ludii-master/Core/src/game/rules/Rules.java | package game.rules;
import java.io.Serializable;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.rules.end.End;
import game.rules.meta.Meta;
import game.rules.phase.Phase;
import game.rules.play.Play;
import game.rules.start.Start;
import game.types.play.RoleType;
import other.BaseLudem... | 4,833 | 21.801887 | 134 | java |
Ludii | Ludii-master/Core/src/game/rules/package-info.java | /**
* @chapter Rule ludemes describe {\it how} the game is played.
* Games may be sub-divided into named {\it phases}, each with its own sub-rules, for clarity.
* Each games will typically have ``start'', ``play'' and ``end'' rules.
*
* @section The {\it rules} ludeme describes the actual rule... | 434 | 42.5 | 103 | java |
Ludii | Ludii-master/Core/src/game/rules/end/BaseEndRule.java | package game.rules.end;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import other.context.Context;
/**
* Dual role object; links end rules in the grammar and contains result afterwards.
*
* @author cambolbro
*/
@Hide
public class BaseEndRule extends EndRule
{
pri... | 1,224 | 15.780822 | 84 | java |
Ludii | Ludii-master/Core/src/game/rules/end/ByScore.java | package game.rules.end;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.board.Id;
import game.types.state.GameType;
import game.util.end.Score;
import ... | 7,273 | 23.166113 | 85 | java |
Ludii | Ludii-master/Core/src/game/rules/end/End.java | package game.rules.end;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Or;
import game.Game;
import game.functions.ints.board.Id;
import game.rules.Rule;
import game.types.play.ResultType;
import game.types.play.RoleType;
import gnu.trove.list.array.TIntArrayList;
import main.Constants;
import m... | 24,662 | 24.961053 | 143 | java |
Ludii | Ludii-master/Core/src/game/rules/end/EndRule.java | package game.rules.end;
import java.io.Serializable;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import other.BaseLudeme;
import other.context.Context;
/**
* Declares a generic end rule.
*
* @author cambolbro
*/
public abstract class EndRule extends BaseLudeme implements Serializable
{
p... | 1,799 | 19.454545 | 80 | java |
Ludii | Ludii-master/Core/src/game/rules/end/ForEach.java | package game.rules.end;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.booleans.BooleanConstant.FalseConstant;
import game.functions.booleans.BooleanFunction;
import game.types.board.TrackType;
import game.types.play.RoleType;
i... | 7,666 | 23.812298 | 100 | java |
Ludii | Ludii-master/Core/src/game/rules/end/If.java | package game.rules.end;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.booleans.BooleanConstant.FalseConstant;
import game.functions.booleans.BooleanFunction;
import other.concept.EndConcepts;
import other.context.Context;
/**
* Implements the conditi... | 7,112 | 22.245098 | 91 | java |
Ludii | Ludii-master/Core/src/game/rules/end/Payoffs.java | package game.rules.end;
import java.util.BitSet;
import game.Game;
import game.functions.ints.board.Id;
import game.types.state.GameType;
import game.util.end.Payoff;
import main.Status;
import other.context.Context;
import other.trial.Trial;
/**
* Is used to end a game based on the payoff of each player.
*
* @a... | 5,228 | 22.768182 | 85 | java |
Ludii | Ludii-master/Core/src/game/rules/end/Result.java | package game.rules.end;
import java.io.Serializable;
import java.util.BitSet;
import game.Game;
import game.types.play.ResultType;
import game.types.play.RoleType;
import other.BaseLudeme;
import other.concept.Concept;
import other.context.Context;
import other.translation.LanguageUtils;
/**
* Gives the result when... | 3,645 | 21.231707 | 89 | java |
Ludii | Ludii-master/Core/src/game/rules/end/package-info.java | /**
* The {\tt end} rules describe the terminating conditions of the game and the result of the game.
*/
package game.rules.end;
| 131 | 25.4 | 98 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/Automove.java | package game.rules.meta;
import java.util.BitSet;
import game.Game;
import game.rules.phase.Phase;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import main.Constants;
import other.MetaRules;
import other.concept.Concept;
import other.context.Context;
import other.move.Move;
import other... | 3,638 | 21.602484 | 107 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/Gravity.java | package game.rules.meta;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.board.SiteType;
import game.types.play.GravityType;
import game.util.directions.A... | 3,873 | 22.621951 | 176 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/Meta.java | package game.rules.meta;
import java.io.Serializable;
import annotations.Or;
import other.BaseLudeme;
import other.context.Context;
/**
* Defines a metarule defined before play that supersedes all other rules.
*
* @author cambolbro
*
*/
public class Meta extends BaseLudeme implements Serializable
{
private s... | 1,530 | 18.628205 | 84 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/MetaRule.java | package game.rules.meta;
import game.rules.Rule;
import other.BaseLudeme;
/**
* Metarule defined before play that supersedes all other rules.
*
* @author cambolbro
*/
public abstract class MetaRule extends BaseLudeme implements Rule
{
private static final long serialVersionUID = 1L;
}
| 295 | 17.5 | 65 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/PassEnd.java | package game.rules.meta;
import java.util.BitSet;
import game.Game;
import game.types.play.PassEndType;
import game.types.state.GameType;
import other.context.Context;
/**
* To apply a certain end result to all players if all players pass their turns.
*
* @author Eric.Piette
*/
public class PassEnd extends Meta... | 1,518 | 16.067416 | 80 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/Pin.java | package game.rules.meta;
import java.util.BitSet;
import java.util.List;
import game.Game;
import game.rules.play.moves.Moves;
import game.types.board.SiteType;
import game.types.play.PinType;
import game.util.directions.AbsoluteDirection;
import game.util.graph.Step;
import other.MetaRules;
import other.action.Actio... | 3,299 | 21.44898 | 103 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/Swap.java | package game.rules.meta;
import java.util.BitSet;
import game.Game;
import game.functions.ints.IntConstant;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.state.swap.players.SwapPlayers;
import game.types.state.GameType;
import main.Constants;
import other.MetaRules;
import other.... | 2,335 | 20.431193 | 103 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/package-info.java | /**
* The {\tt meta} rules describe higher-level rules applied across the entire game.
*/
package game.rules.meta;
| 117 | 22.6 | 83 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/no/No.java | package game.rules.meta.no;
import annotations.Opt;
import game.Game;
import game.rules.meta.MetaRule;
import game.rules.meta.no.repeat.NoRepeat;
import game.rules.meta.no.simple.NoSuicide;
import game.types.play.RepetitionType;
import other.context.Context;
/**
* Defines a no meta rules to forbid certain moves.
* ... | 2,263 | 19.770642 | 81 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/no/NoRepeatType.java | package game.rules.meta.no;
/**
* Defines the types of no repeat meta rules.
*/
public enum NoRepeatType
{
/** Makes a particular type of repetition that is forbidden in the game. */
Repeat,
}
| 198 | 17.090909 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/no/NoSimpleType.java | package game.rules.meta.no;
/**
* Defines the types of meta rules with no parameters.
*/
public enum NoSimpleType
{
/** Makes all moves leading directly to lose forbidden. */
Suicide,
}
| 191 | 16.454545 | 59 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/no/package-info.java | /**
* To specifies rules not allowed across the entire game.
*/
package game.rules.meta.no;
| 94 | 18 | 57 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/no/repeat/NoRepeat.java | package game.rules.meta.no.repeat;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.rules.meta.MetaRule;
import game.types.play.RepetitionType;
import game.types.state.GameType;
import other.MetaRules;
import other.concept.Concept;
import other.context.Context;
i... | 5,047 | 24.24 | 102 | java |
Ludii | Ludii-master/Core/src/game/rules/meta/no/simple/NoSuicide.java | package game.rules.meta.no.simple;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import game.rules.meta.MetaRule;
import other.MetaRules;
import other.context.Context;
import other.context.TempContext;
import other.move.Move;
/**
* Specifies a particular type of repetition that is forbidden in... | 2,348 | 19.787611 | 77 | java |
Ludii | Ludii-master/Core/src/game/rules/phase/NextPhase.java | package game.rules.phase;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanConstant.FalseConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.BaseIntFunction;
... | 5,786 | 25.18552 | 105 | java |
Ludii | Ludii-master/Core/src/game/rules/phase/Phase.java | package game.rules.phase;
import java.io.Serializable;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.mode.Mode;
import game.rules.end.End;
import game.rules.play.Play;
import game.types.play.RoleType;
import other.BaseLudeme;
import other.playout.Playout;
/**
... | 8,350 | 21.210106 | 105 | java |
Ludii | Ludii-master/Core/src/game/rules/phase/package-info.java | /**
* Games may be sub-divided into named {\it phases} for clarity.
* Each phase can contain its own sub-rules, which override the rules for the broader game while in that phase.
* Each phase can nominate a ``next'' phase to which control is relinquished under specified conditions.
*/
package game.rules.phase;
| 317 | 44.428571 | 111 | java |
Ludii | Ludii-master/Core/src/game/rules/play/Play.java | package game.rules.play;
import java.io.Serializable;
import game.Game;
import game.rules.play.moves.Moves;
import other.BaseLudeme;
/**
* Checks the playing rules of the game.
*
* @author cambolbro and Eric.Piette
*/
public final class Play extends BaseLudeme implements Serializable
{
private static final lon... | 1,198 | 18.655738 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/package-info.java | /**
* The {\tt play} rules describe the actual rules of play, from the start to the end of each trial.
*/
package game.rules.play;
| 133 | 25.8 | 99 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/BaseMoves.java | package game.rules.play.moves;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.rules.play.moves.nonDecision.effect.Then;
import other.context.Context;
/**
* Placeholder object for creating default Moves objects without initialisation.
*
* @author cambolbro
*/
@Hide
public class Bas... | 1,159 | 16.575758 | 80 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/Moves.java | package game.rules.play.moves;
import java.util.Iterator;
import java.util.function.BiPredicate;
import annotations.Opt;
import game.Game;
import game.rules.meta.no.repeat.NoRepeat;
import game.rules.meta.no.simple.NoSuicide;
import game.rules.play.moves.nonDecision.effect.Then;
import game.types.state.GameType;
impo... | 6,767 | 19.44713 | 83 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/package-info.java | /**
* @chapter Move ludemes define the legal moves for a given game state.
* We distinguish between:
* \begin{itemize}
* \item {\it decision moves} that involve a choice by the player,
* \item {\it effect moves} that are applied as the result of a decision, and
* \ite... | 443 | 39.363636 | 86 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/Decision.java | package game.rules.play.moves.decision;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Then;
import other.context.Context;
//-----------------------------------------------------------------------------
/**
* Defines moves that involve a decision by the player.
*
* @author Er... | 922 | 20.97619 | 79 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/Move.java | package game.rules.play.moves.decision;
import annotations.And;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import annotations.Or2;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.intArray.IntArrayFunction;
import game.functions.intArray.math.Differen... | 28,259 | 28.044193 | 144 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveBetType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to bet.
*/
public enum MoveBetType
{
/** Makes a bet move. */
Bet,
}
| 169 | 14.454545 | 59 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveFromToType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to move a piece from a site
* to another.
*/
public enum MoveFromToType
{
/** Makes a FromTo move. */
FromTo,
}
| 213 | 16.833333 | 79 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveHopType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a hop move.
*/
public enum MoveHopType
{
/** Makes a Hop move. */
Hop,
}
| 176 | 15.090909 | 66 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveLeapType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a leap move.
*/
public enum MoveLeapType
{
/** Makes a Leap move. */
Leap,
}
| 180 | 15.454545 | 67 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveMessageType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move relative to a message.
*/
public enum MoveMessageType
{
/** Makes a propose move. */
Propose,
/** Makes a vote move. */
Vote,
}
| 217 | 14.571429 | 60 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MovePromoteType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a promotion move.
*/
public enum MovePromoteType
{
/** Makes a promotion move. */
Promote,
}
| 196 | 16.909091 | 72 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveRemoveType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a remove move.
*/
public enum MoveRemoveType
{
/** Makes a remove move. */
Remove,
}
| 188 | 16.181818 | 69 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveSelectType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a select move.
*/
public enum MoveSelectType
{
/** Makes a select move. */
Select,
}
| 188 | 16.181818 | 69 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveSetType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a set move.
*/
public enum MoveSetType
{
/** Makes a set move. */
Set,
}
| 176 | 15.090909 | 66 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveShootType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a shoot move.
*/
public enum MoveShootType
{
/** Makes a shoot move. */
Shoot,
}
| 184 | 15.818182 | 68 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveSimpleType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to move with no parameters except the subsequents.
*/
public enum MoveSimpleType
{
/** Makes a pass move. */
Pass,
/** Plays a card. */
PlayCard,
}
| 251 | 17 | 102 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveSiteType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a single site.
*/
public enum MoveSiteType
{
/** Makes a add move. */
Add,
/** Makes a claim move. */
Claim,
}
| 217 | 14.571429 | 69 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveSlideType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a slide move.
*/
public enum MoveSlideType
{
/** Makes a slide move. */
Slide,
}
| 184 | 15.818182 | 68 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveStepType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a step move.
*/
public enum MoveStepType
{
/** Makes a step move. */
Step,
}
| 180 | 15.454545 | 67 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/MoveSwapType.java | package game.rules.play.moves.decision;
/**
* Defines the types of decision move corresponding to a swap move.
*/
public enum MoveSwapType
{
/** To Swap two pieces or two players. */
Swap,
}
| 196 | 16.909091 | 67 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/decision/package-info.java | /**
* To specify that a move is a decision move.
*/
package game.rules.play.moves.decision;
| 94 | 18 | 45 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/NonDecision.java | package game.rules.play.moves.nonDecision;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Then;
import other.context.Context;
/**
* Defines moves that do not involve an immediate decision by the player.
*
* @author Eric.Piette and cambolbro
*
* @remarks Non-decision moves i... | 981 | 21.837209 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Add.java | package game.rules.play.moves.nonDecision.effect;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.IntConstant;
import game.function... | 24,797 | 24.670807 | 132 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Apply.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Name;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.NonDecision;
import other.context.C... | 5,263 | 19.091603 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Attract.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.functions.directions.Directions;
import game.functions.ints.IntFunction;
import game.functions.ints.last.LastTo;
import game.rules.play.moves.BaseMoves;
import game.r... | 7,027 | 27.112 | 123 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Bet.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntFunction;
import game.functions.range.RangeFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.p... | 6,343 | 24.893878 | 107 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Claim.java | package game.rules.play.moves.nonDecision.effect;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.IntFunction;
import game.functions.ints.state.Mover;
import game.functions.region.RegionFunction;
imp... | 13,968 | 22.596284 | 111 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Custodial.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.booleans.is.player.IsEnemy;
import game.functions.booleans.is.player.IsFriend;
import game.functions.ints.In... | 12,920 | 28.703448 | 219 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Deal.java | package game.rules.play.moves.nonDecision.effect;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.equipment.container.Container;
import game.equipment.container.other.D... | 10,346 | 26.445623 | 241 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Directional.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.booleans.is.player.IsEnemy;
import game.functions.directions.Directions;
import game.functions.directions.Di... | 9,192 | 28.750809 | 168 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Effect.java | package game.rules.play.moves.nonDecision.effect;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.NonDecision;
import other.context.Context;
//-----------------------------------------------------------------------------
/**
* Defines moves which do not involve a player decision.
*
*... | 1,087 | 21.666667 | 79 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Enclose.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.booleans.is.player.IsEnemy;
import game.functions.directions.Directions;
import gam... | 15,817 | 29.95499 | 191 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Flip.java | package game.rules.play.moves.nonDecision.effect;
import java.util.ArrayList;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.functions.ints.IntFunction;
import game.functions.ints.iterator.To;
import game.rules.play.moves.BaseMoves;
import gam... | 7,506 | 25.620567 | 100 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/FromTo.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.intArray.state.... | 27,377 | 26.160714 | 120 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Hop.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.directions.Directions;
import game.... | 26,531 | 30.548157 | 181 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Intervene.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.booleans.is.player.IsEnemy;
import game.functions.ints.IntConstant;
import game.functions.ints.IntFunction;
... | 12,751 | 29.801932 | 210 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Leap.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.IntConstan... | 13,107 | 25.915811 | 175 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Note.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import annotations.Or2;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.directions.DirectionsFunction;
import game.functions.floats... | 17,214 | 31.117537 | 175 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Pass.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.state.GameType;
import main.Constants;
import other.action.others.ActionPass;
import other.concept.Concept;... | 3,761 | 21 | 80 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/PlayCard.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.board.SiteType;
import game.types.state.GameType;
import main.Co... | 4,552 | 24.154696 | 185 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Promote.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.equipment.component.Component;
import game.functions.ints.IntFunction;
import game.functions.ints.iterator.To;
import game.rules.play.moves.BaseMoves;
import game.rul... | 8,862 | 23.551247 | 129 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Propose.java | package game.rules.play.moves.nonDecision.effect;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.state.GameType;
import main.Constants;
import other.action.... | 5,336 | 23.040541 | 96 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Push.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.functions.directions.DirectionsFunction;
import game.functions.ints.IntFunction;
import game.functions.ints.last.LastTo;
import game.rules.play.moves.BaseMoves;
impor... | 6,677 | 26.709544 | 118 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Random.java | package game.rules.play.moves.nonDecision.effect;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Name;
import game.Game;
import game.functions.floats.FloatFunction;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.typ... | 7,004 | 22.665541 | 107 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Remove.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntConstant;
import game.functions.ints.IntFunction;
import game.functions.region.RegionFunction;
import game.rules.play.moves... | 7,955 | 25.787879 | 117 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Roll.java | package game.rules.play.moves.nonDecision.effect;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.equipment.container.other.Dice;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.board.SiteTy... | 4,243 | 22.191257 | 92 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Satisfy.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Or;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.board.SiteType;
import game.types.state.GameType;
import gnu... | 8,830 | 25.760606 | 114 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Select.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.IntFunction;
import game.functions.ints.board.Id;
import game.rules.play.moves... | 12,489 | 26.755556 | 124 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Shoot.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.booleans.is.in.IsIn;
import game.functions.directions.Directions;
import game.functions.ints.IntFunction;
im... | 10,297 | 26.171504 | 108 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Slide.java | package game.rules.play.moves.nonDecision.effect;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.container.board.Track;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.B... | 27,226 | 29.661036 | 173 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Sow.java | package game.rules.play.moves.nonDecision.effect;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.equipment.container.board.Track;
import game.functions.booleans.BooleanConstant;
import ga... | 22,721 | 28.09347 | 154 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Step.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.directions.Directions;
import game.... | 18,055 | 27.479495 | 182 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Surround.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import java.util.List;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.booleans.is.player.IsEnemy;
import game.functions.booleans.is.player.IsFriend;
impo... | 12,950 | 29.909308 | 223 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Then.java | package game.rules.play.moves.nonDecision.effect;
import java.io.Serializable;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.NonDecision;
import other.BaseLudeme;
import other.concept.Concept;
/... | 3,707 | 21.472727 | 109 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Trigger.java | package game.rules.play.moves.nonDecision.effect;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntConstant;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.play... | 5,066 | 23.597087 | 91 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/Vote.java | package game.rules.play.moves.nonDecision.effect;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.types.state.GameType;
import main.Constants;
import other.action.... | 4,877 | 22.009434 | 89 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/package-info.java | /**
* Effect moves are those moves that are applied as the result of a player decision.
*/
package game.rules.play.moves.nonDecision.effect;
| 143 | 27.8 | 84 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/AvoidStoredState.java | package game.rules.play.moves.nonDecision.effect.requirement;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
import game.rules.play.moves.nonDecision.effect.Then;
imp... | 4,346 | 23.15 | 82 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/Do.java | package game.rules.play.moves.nonDecision.effect.requirement;
import java.util.BitSet;
import java.util.Iterator;
import java.util.function.BiPredicate;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.rules.play.moves.BaseMoves;
import gam... | 13,355 | 24.933981 | 101 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/FirstMoveOnTrack.java | package game.rules.play.moves.nonDecision.effect.requirement;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.equipment.container.board.Track;
import game.functions.ints.board.Id;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.no... | 5,223 | 23.297674 | 105 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.