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/rules/play/moves/nonDecision/effect/requirement/Priority.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... | 5,965 | 23.056452 | 78 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/While.java | package game.rules.play.moves.nonDecision.effect.requirement;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant.TrueConstant;
import game.functions.booleans.BooleanFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
impo... | 5,310 | 24.907317 | 102 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/package-info.java | /**
* Move requirements define criteria that must be satisfied for a move to be legal.
* These are typically applied to lists of generated moves to filter out those that do not meet the
* specified criteria.
* Move requirements can be quite powerful when used correctly, but care must be taken as they can have a ... | 413 | 50.75 | 132 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/Max.java | package game.rules.play.moves.nonDecision.effect.requirement.max;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
import game.rules.play.moves.nonDecision.effec... | 4,116 | 26.630872 | 98 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/MaxDistanceType.java | package game.rules.play.moves.nonDecision.effect.requirement.max;
/**
* Defines the types of properties which can be used for the Max super ludeme
* according to a distance.
*
* @author Eric.Piette
*/
public enum MaxDistanceType
{
/**
* To filter the moves to keep only the moves allowing the maximum distance ... | 364 | 20.470588 | 81 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/MaxMovesType.java | package game.rules.play.moves.nonDecision.effect.requirement.max;
/**
* Defines the types of properties which can be used for the Max super ludeme
* with only a move ludeme in entry.
*
* @author Eric.Piette
*/
public enum MaxMovesType
{
/**
* To ilter a list of legal moves to keep only the moves allowing the ... | 500 | 20.782609 | 79 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/package-info.java | /**
* The {\tt (max ...)} `super' ludeme filters a list of moves to maximise a
* property.
*/
package game.rules.play.moves.nonDecision.effect.requirement.max;
| 163 | 26.333333 | 75 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/distance/MaxDistance.java | package game.rules.play.moves.nonDecision.effect.requirement.max.distance;
import java.util.BitSet;
import annotations.Hide;
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.... | 8,005 | 25.335526 | 138 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/moves/MaxCaptures.java | package game.rules.play.moves.nonDecision.effect.requirement.max.moves;
import java.util.BitSet;
import java.util.List;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import gam... | 6,734 | 26.602459 | 159 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/requirement/max/moves/MaxMoves.java | package game.rules.play.moves.nonDecision.effect.requirement.max.moves;
import java.util.BitSet;
import java.util.List;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import gam... | 10,137 | 27.397759 | 157 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/Set.java | package game.rules.play.moves.nonDecision.effect.set;
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.Difference;
import... | 15,129 | 28.096154 | 122 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetHiddenType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of hidden information that can be set in the game state.
*/
public enum SetHiddenType
{
/** Sets the hidden information of a location. */
Hidden,
} | 230 | 22.1 | 77 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetNextPlayerType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of player that can be set in the game state.
*/
public enum SetNextPlayerType
{
/** Sets the next player. */
NextPlayer,
}
| 206 | 17.818182 | 65 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetPendingType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of `pending' value that can be set in the game state.
*/
public enum SetPendingType
{
/** Sets specified sites to a certain pending value. */
Pending,
}
| 236 | 20.545455 | 74 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetPlayerType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines properties related to the players that can be set in the game state.
*/
public enum SetPlayerType
{
/** Sets the value associated with a player. */
Value,
/** Sets the score of a player. */
Score,
}
| 275 | 18.714286 | 79 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetRotationType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of rotation that can be set in the game state.
*/
public enum SetRotationType
{
/** Sets the rotation of a piece. */
Rotation,
}
| 212 | 18.363636 | 67 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetSiteType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines properties of sites that can be set in the game state.
*/
public enum SetSiteType
{
/** Set the count value for specified sites. */
Count,
/** Set the local state value for specified sites. */
State,
/** Set the piece value for specified site... | 336 | 18.823529 | 65 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetTeamType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines teams that can be set.
*
* @author Eric.Piette
*/
public enum SetTeamType
{
/** Set a team. */
Team,
} | 178 | 13.916667 | 53 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetTrumpType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of suit that can be set in the game state.
*/
public enum SetTrumpType
{
/** Sets the trump suit. */
TrumpSuit,
}
| 197 | 17 | 63 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetValueType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of integer values that can be set in the game state.
*/
public enum SetValueType
{
/** Sets the counter of the game state. */
Counter,
/** Sets the pot of the game state. */
Pot,
}
| 267 | 18.142857 | 73 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/SetVarType.java | package game.rules.play.moves.nonDecision.effect.set;
/**
* Defines the types of integer values that can be set to var.
*/
public enum SetVarType
{
/** Sets the `var' variable of the game state. */
Var,
}
| 210 | 18.181818 | 62 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/package-info.java | /**
* The {\tt (set ...)} `super' ludeme sets some aspect of the game state in response to a move.
* This includes, for example, setting a counter value, or the next player, or the state of a site, etc.
*/
package game.rules.play.moves.nonDecision.effect.set;
| 264 | 43.166667 | 105 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/direction/SetRotation.java | package game.rules.play.moves.nonDecision.effect.set.direction;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functi... | 10,182 | 28.688047 | 132 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/hidden/SetHidden.java | package game.rules.play.moves.nonDecision.effect.set.hidden;
import java.util.ArrayList;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFun... | 14,810 | 27.984344 | 154 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/nextPlayer/SetNextPlayer.java | package game.rules.play.moves.nonDecision.effect.set.nextPlayer;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.intArray.IntArrayConstant;
import game.functions.intArray.IntArrayFunction;
import game.functions.ints.IntFunction;
... | 5,464 | 24.300926 | 89 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/pending/SetPending.java | package game.rules.play.moves.nonDecision.effect.set.pending;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntFunction;
import game.functions.region.RegionFunction;
import game.rules.play.moves.BaseMoves;
import game.rule... | 6,079 | 24.123967 | 101 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/player/SetScore.java | package game.rules.play.moves.nonDecision.effect.set.player;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.mov... | 6,367 | 24.370518 | 100 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/player/SetValuePlayer.java | package game.rules.play.moves.nonDecision.effect.set.player;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.mov... | 5,319 | 24.825243 | 111 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/site/SetCount.java | package game.rules.play.moves.nonDecision.effect.set.site;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Eff... | 5,607 | 25.578199 | 147 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/site/SetState.java | package game.rules.play.moves.nonDecision.effect.set.site;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.mov... | 7,096 | 25.781132 | 124 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/site/SetValue.java | package game.rules.play.moves.nonDecision.effect.set.site;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.mov... | 6,502 | 25.542857 | 148 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/suit/SetTrumpSuit.java | package game.rules.play.moves.nonDecision.effect.set.suit;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.equipment.component.Component;
import game.functions.intArray.IntArrayConstant;
import game.functions.intArray.IntArrayFunction;
imp... | 5,577 | 23.464912 | 105 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/team/SetTeam.java | package game.rules.play.moves.nonDecision.effect.set.team;
import java.util.ArrayList;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.... | 6,165 | 24.167347 | 91 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/value/SetCounter.java | package game.rules.play.moves.nonDecision.effect.set.value;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
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 gam... | 4,456 | 23.899441 | 83 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/value/SetPot.java | package game.rules.play.moves.nonDecision.effect.set.value;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
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 gam... | 4,297 | 22.615385 | 78 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/set/var/SetVar.java | package game.rules.play.moves.nonDecision.effect.set.var;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
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.... | 5,080 | 22.632558 | 82 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/AddScore.java | package game.rules.play.moves.nonDecision.effect.state;
import java.util.BitSet;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
... | 8,715 | 23.761364 | 128 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/MoveAgain.java | package game.rules.play.moves.nonDecision.effect.state;
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;
import ga... | 3,735 | 21.642424 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/package-info.java | /**
* State move generators create moves based on certain properties of the game state.
*/
package game.rules.play.moves.nonDecision.effect.state;
| 149 | 29 | 84 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/forget/Forget.java | package game.rules.play.moves.nonDecision.effect.state.forget;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
import game.rules.play.moves.nonDecision.effect.Then;
import game.rules.play.moves... | 3,553 | 24.568345 | 98 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/forget/ForgetValueAllType.java | package game.rules.play.moves.nonDecision.effect.state.forget;
/**
* Defines the types of the super ludeme Forget Value.
*
* @author Eric.Piette
*/
public enum ForgetValueAllType
{
/** To forget all the values.. */
All,
} | 229 | 18.166667 | 62 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/forget/ForgetValueType.java | package game.rules.play.moves.nonDecision.effect.state.forget;
/**
* Defines the types of the super ludeme Forget for values.
*
* @author Eric.Piette
*/
public enum ForgetValueType
{
/** To forget a value. */
Value,
} | 225 | 17.833333 | 62 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/forget/package-info.java | /**
* The {\tt (forget ...)} `super' ludeme forgets some information stored.
*/
package game.rules.play.moves.nonDecision.effect.state.forget;
| 145 | 28.2 | 73 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/forget/value/ForgetValue.java | package game.rules.play.moves.nonDecision.effect.state.forget.value;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.... | 4,520 | 23.437838 | 94 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/forget/value/ForgetValueAll.java | package game.rules.play.moves.nonDecision.effect.state.forget.value;
import java.util.ArrayList;
import java.util.BitSet;
import annotations.Hide;
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.Effec... | 5,309 | 23.027149 | 95 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/remember/Remember.java | package game.rules.play.moves.nonDecision.effect.state.remember;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.IntFunction;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
import ... | 3,470 | 25.7 | 100 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/remember/RememberStateType.java | package game.rules.play.moves.nonDecision.effect.state.remember;
/**
* Defines the types of the super ludeme Remember for state.
*
* @author Eric.Piette
*/
public enum RememberStateType
{
/** To remember the state. */
State,
}
| 235 | 17.153846 | 64 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/remember/RememberValueType.java | package game.rules.play.moves.nonDecision.effect.state.remember;
/**
* Defines the types of the super ludeme Remember for values.
*
* @author Eric.Piette
*/
public enum RememberValueType
{
/** To remember a value. */
Value,
} | 233 | 18.5 | 64 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/remember/package-info.java | /**
* The {\tt (remember ...)} `super' ludeme remembers some information to use
* them in future states.
*/
package game.rules.play.moves.nonDecision.effect.state.remember;
| 176 | 28.5 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/remember/state/RememberState.java | package game.rules.play.moves.nonDecision.effect.state.remember.state;
import java.util.BitSet;
import annotations.Hide;
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.... | 3,684 | 21.607362 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/remember/value/RememberValue.java | package game.rules.play.moves.nonDecision.effect.state.remember.value;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFunction;
import game.functions.ints.IntFunc... | 5,933 | 25.491071 | 121 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/swap/Swap.java | package game.rules.play.moves.nonDecision.effect.state.swap;
import annotations.And;
import annotations.Opt;
import annotations.Or;
import annotations.Or2;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
import game.r... | 4,175 | 25.1 | 106 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/swap/SwapPlayersType.java | package game.rules.play.moves.nonDecision.effect.state.swap;
/**
* Defines the types of the super ludeme Swap for players.
*
* @author Eric.Piette
*/
public enum SwapPlayersType
{
/** To swap the players. */
Players,
}
| 227 | 16.538462 | 60 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/swap/SwapSitesType.java | package game.rules.play.moves.nonDecision.effect.state.swap;
/**
* Defines the types of the super ludeme Swap for sites.
*
* @author Eric.Piette
*/
public enum SwapSitesType
{
/** To swap the components of two sites. */
Pieces,
}
| 238 | 17.384615 | 60 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/swap/package-info.java | /**
* The {\tt (swap ...)} `super' ludeme swaps two pieces or two players.
*/
package game.rules.play.moves.nonDecision.effect.state.swap;
| 141 | 27.4 | 71 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/swap/players/SwapPlayers.java | package game.rules.play.moves.nonDecision.effect.state.swap.players;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import annotations.Or2;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.M... | 5,428 | 25.227053 | 93 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/state/swap/sites/SwapPieces.java | package game.rules.play.moves.nonDecision.effect.state.swap.sites;
import java.util.BitSet;
import annotations.And;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.functions.ints.last.LastFrom;
import game.functions.ints.last.LastTo;
import game.r... | 5,854 | 25.981567 | 185 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/take/Take.java | package game.rules.play.moves.nonDecision.effect.take;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import annotations.Or2;
import game.Game;
import game.functions.ints.IntFunction;
import game.functions.region.RegionFunction;
import game.rules.play.moves.Moves;
import game.rules.play.moves.... | 4,528 | 25.48538 | 96 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/take/TakeControlType.java | package game.rules.play.moves.nonDecision.effect.take;
/**
* Defines the types to take the control of pieces for the super ludeme Take.
*
* @author Eric.Piette
*/
public enum TakeControlType
{
/** To take the control of enemy pieces. */
Control,
}
| 256 | 18.769231 | 77 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/take/TakeSimpleType.java | package game.rules.play.moves.nonDecision.effect.take;
/**
* Defines the types of properties which can be take for the Take super ludeme
* with no parameter.
*
* @author Eric.Piette
*/
public enum TakeSimpleType
{
/** To take a domino from the bag. */
Domino,
}
| 271 | 18.428571 | 78 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/take/package-info.java | /**
* The {\tt (take ...)} `super' ludeme is used to take piece or the control of
* enemy pieces.
*/
package game.rules.play.moves.nonDecision.effect.take;
| 159 | 25.666667 | 78 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/take/control/TakeControl.java | package game.rules.play.moves.nonDecision.effect.take.control;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import annotations.Or2;
import game.Game;
import game.equipment.component.Component;
import game.functions.ints.IntFunction;
import g... | 10,146 | 29.289552 | 118 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/effect/take/simple/TakeDomino.java | package game.rules.play.moves.nonDecision.effect.take.simple;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.equipment.container.Container;
import game.equipment.container.other.Hand;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
i... | 4,967 | 23.472906 | 125 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operator/Operator.java | package game.rules.play.moves.nonDecision.operator;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.NonDecision;
import game.rules.play.moves.nonDecision.effect.Then;
import other.context.Context;
/**
* Defines operations that combine lists of moves, then optionally perform some addition... | 1,032 | 21.456522 | 99 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operator/package-info.java | /**
* Move operators are functions that combine moves together,
* then optionally perform some additional effects.
* The input moves can be a mixture of decision moves and effect moves.
*/
package game.rules.play.moves.nonDecision.operator;
| 249 | 34.714286 | 73 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEach.java | package game.rules.play.moves.nonDecision.operators.foreach;
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.ints.IntFunction;
import ... | 16,190 | 30.998024 | 118 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachDieType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the die which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachDieType
{
/**
* To generate moves according to the values of the dice.
*/
Die,
}
| 273 | 17.266667 | 69 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachDirectionType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the direction which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachDirectionType
{
/**
* To apply a move for each site reached according to a direction.
*/
Direction,
}
| 300 | 19.066667 | 75 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachGroupType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the group which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachGroupType
{
/**
* To generate moves according to group.
*/
Group,
}
| 262 | 16.533333 | 71 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachLevelType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the level which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachLevelType
{
/**
* To iterate through the levels of a site, generating moves based on their
* positions.
*/
Level,
} | 311 | 19.8 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachPieceType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the piece which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachPieceType
{
/** To iterate through the pieces, generating moves based on their positions. */
Piece,
}
| 292 | 21.538462 | 81 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachPlayerType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the player which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachPlayerType
{
/**
* To iterate through the players to generate moves.
*/
Player,
}
| 277 | 17.533333 | 72 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachSiteType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the site which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachSiteType
{
/** To apply a move for each site in a region. */
Site,
}
| 258 | 18.923077 | 70 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/ForEachValueType.java | package game.rules.play.moves.nonDecision.operators.foreach;
/**
* Defines the values which can be iterated in the ForEach super ludeme.
*
* @author Eric.Piette
*/
public enum ForEachValueType
{
/** To apply a move for each value from one value to another (included). */
Value,
}
| 288 | 21.230769 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/package-info.java | /**
* Move generators are functions that iterate over playable sites and generate moves according to specified criteria.
*/
package game.rules.play.moves.nonDecision.operators.foreach;
| 187 | 36.6 | 117 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/die/ForEachDie.java | package game.rules.play.moves.nonDecision.operators.foreach.die;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.container.other.Dice;
import game.functions.booleans.BooleanConstant;
import game.functions.booleans.BooleanFuncti... | 12,341 | 30.088161 | 103 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/direction/ForEachDirection.java | package game.rules.play.moves.nonDecision.operators.foreach.direction;
import java.util.BitSet;
import java.util.List;
import annotations.Hide;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.equipment.component.Component;
import game.functions.booleans.BooleanFunction;
import game.functi... | 12,988 | 26.460888 | 204 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/group/ForEachGroup.java | package game.rules.play.moves.nonDecision.operators.foreach.group;
import java.util.BitSet;
import java.util.List;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.directions.Directions;
import game.functi... | 9,561 | 26.011299 | 154 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/level/ForEachLevel.java | package game.rules.play.moves.nonDecision.operators.foreach.level;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.ef... | 6,453 | 26.117647 | 210 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/piece/ForEachPiece.java | package game.rules.play.moves.nonDecision.operators.foreach.piece;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Iterator;
import java.util.List;
import java.util.function.BiPredicate;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import annot... | 19,766 | 27.814869 | 114 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/player/ForEachPlayer.java | package game.rules.play.moves.nonDecision.operators.foreach.player;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.intArray.IntArrayFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonD... | 5,878 | 22.516 | 77 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/site/ForEachSite.java | package game.rules.play.moves.nonDecision.operators.foreach.site;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.region.RegionFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.ru... | 6,077 | 24.86383 | 111 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/team/ForEachTeam.java | package game.rules.play.moves.nonDecision.operators.foreach.team;
import java.util.BitSet;
import annotations.Hide;
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... | 3,659 | 22.921569 | 79 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/foreach/value/ForEachValue.java | package game.rules.play.moves.nonDecision.operators.foreach.value;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.intArray.IntArrayFunction;
import game.functions.ints.IntFunction;
import game.rules.play.moves.BaseMoves;
impor... | 7,067 | 24.06383 | 86 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/AllCombinations.java | package game.rules.play.moves.nonDecision.operators.logical;
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.Then;
import game.rules.play.moves.nonDecision.operator.Operator;
... | 4,456 | 22.962366 | 89 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/And.java | package game.rules.play.moves.nonDecision.operators.logical;
import java.util.BitSet;
import java.util.function.BiPredicate;
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.Then;
import game.rules.pla... | 6,828 | 20.340625 | 91 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/Append.java | package game.rules.play.moves.nonDecision.operators.logical;
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.NonDecision;
import game.rules.play.moves.nonDecision.effect.Then;
import... | 4,307 | 23.067039 | 80 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/If.java | package game.rules.play.moves.nonDecision.operators.logical;
import java.util.BitSet;
import java.util.function.BiPredicate;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.move... | 8,325 | 21.563686 | 84 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/Or.java | package game.rules.play.moves.nonDecision.operators.logical;
import java.util.BitSet;
import java.util.function.BiPredicate;
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.Then;
import game.rules.pla... | 6,768 | 20.153125 | 84 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/Seq.java | package game.rules.play.moves.nonDecision.operators.logical;
import java.util.BitSet;
import game.Game;
import game.rules.play.moves.BaseMoves;
import game.rules.play.moves.Moves;
import game.rules.play.moves.nonDecision.effect.Effect;
import other.concept.Concept;
import other.context.Context;
import other.context.T... | 4,621 | 22.343434 | 149 | java |
Ludii | Ludii-master/Core/src/game/rules/play/moves/nonDecision/operators/logical/package-info.java | /**
* Logical move generators are used to combine or filter existing lists of moves.
*/
package game.rules.play.moves.nonDecision.operators.logical;
| 151 | 29.4 | 81 | java |
Ludii | Ludii-master/Core/src/game/rules/start/Deal.java | package game.rules.start;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.List;
import annotations.Opt;
import game.Game;
import game.equipment.component.Component;
import game.equipment.container.Container;
import game.equipment.container.other.Deck;
import game.types.board.SiteType;
import gam... | 6,032 | 24.892704 | 231 | java |
Ludii | Ludii-master/Core/src/game/rules/start/Start.java | package game.rules.start;
import java.io.Serializable;
import annotations.Or;
import game.Game;
import game.types.board.SiteType;
import other.BaseLudeme;
import other.action.BaseAction;
import other.action.move.ActionAdd;
import other.context.Context;
import other.move.Move;
/**
* Defines a starting position.
*
... | 3,485 | 25.014925 | 104 | java |
Ludii | Ludii-master/Core/src/game/rules/start/StartRule.java | package game.rules.start;
import game.Game;
import game.rules.Rule;
import other.BaseLudeme;
/**
* Sets the initial setup rule for the start of each trial (i.e. game).
*
* @author cambolbro
*/
public abstract class StartRule extends BaseLudeme implements Rule
{
private static final long serialVersionUID = 1L;
... | 1,065 | 17.701754 | 76 | java |
Ludii | Ludii-master/Core/src/game/rules/start/package-info.java | /**
* The {\tt start} rules describe the initial setup of equipment before play commences.
*/
package game.rules.start;
| 122 | 23.6 | 87 | java |
Ludii | Ludii-master/Core/src/game/rules/start/deductionPuzzle/Set.java | package game.rules.start.deductionPuzzle;
import java.util.Arrays;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import game.rules.start.StartRule;
import game.types.board.SiteType;
import game.types.state.GameType;
import other.action.BaseAction;
import other.action.puzzle.ActionSet;
import othe... | 4,208 | 20.80829 | 101 | java |
Ludii | Ludii-master/Core/src/game/rules/start/deductionPuzzle/package-info.java | /**
* Start rules specific to deduction puzzles typically involve setting hint values for puzzle challenges.
*/
package game.rules.start.deductionPuzzle;
| 156 | 30.4 | 105 | java |
Ludii | Ludii-master/Core/src/game/rules/start/forEach/ForEach.java | package game.rules.start.forEach;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.functions.booleans.BooleanFunction;
import game.functions.intArray.IntArrayFunction;
import game.functions.ints.IntFunction;
import game.functions.region.RegionFunction;
import game.rules.Rule;
import game.... | 5,472 | 25.061905 | 95 | java |
Ludii | Ludii-master/Core/src/game/rules/start/forEach/ForEachStartValueType.java | package game.rules.start.forEach;
/**
* Defines the values which can be iterated in the ForEach super start ludeme.
*
* @author Eric.Piette
*/
public enum ForEachStartValueType
{
/** To apply a starting rule for each value from one value to another (included). */
Value,
}
| 281 | 20.692308 | 85 | java |
Ludii | Ludii-master/Core/src/game/rules/start/forEach/ForEachTeamType.java | package game.rules.start.forEach;
/**
* To iterate through the teams.
*
* @author Eric.Piette
*/
public enum ForEachTeamType
{
/** Team iterator. */
Team;
}
| 165 | 11.769231 | 33 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.