A downloadable game for Windows

Download NowName your own price

Tome of Staffs - 24H version

this is a Demo I made in less than 24 hours as a proof of concept for making an online multiplayer card game, it's both the first card game I make that is not a physical game and the first Online Multiplayer game I make.

because it was done in under 24 Hours there are no Graphics and everything is handled through text.

Setting up the game:

  • you need at least 2 players to play this game
    • though a single person can play both, and anyone above 2 will only be able to watch
  • the game need to be hosted on a computer accessible to both players.
    • you might need to use port forwarding, or a tunneling/VPN software like Hamachi if you are not on the same network
  • players need to open the game on client mode(Host can open in local play and play as player 1 which would make it both a host and a client).
    • you can disconnect and reconnect to change player order, but that might break the game
  • after connecting using the address(local play will automatically choose localhost as the target address) the server will acknowledge the connection and the players are assigned their ID.
    • due to a bug you would need to input something into the terminal before you can see the game's UI.
  • the server assigns each player with one of 4 pre-made decks automatically
    • you can set your deck using the new_deck command if no action was taken in the game.

Objective:

Reduce your Opponent's life total to 0(or below) to win.

Commands:

new_deck:

format:
new_deck,card_id,amount,card_id,amount,...

  • set up a deck from a comma seperated string.
  • legal decks include AT LEAST 15 cards.
  • card IDs can be viewed in the included Card_set.txt file
    • that file will be generated on load so you can view it even if it is accidentally(or deliberately) deleted.

pass:

format:
pass

  • pass priority to the next player, usable only if you have priority.
  • passing priority back to the last casting player would resolve the top spell on the stack.
  • passing priority back to the playing player on their turn when no cards are on the stack would pass the turn to the next player.

cast:

format:
cast,card_index_in_hand,target_by_target_type

  • Cards can target a LOT of different things
    • Players - {0,1}
    • Artifacts - by index starting from 0 counting both player's artifacts
    • ALL - {0,1} on players, Artifacts by index starting from 2(because 0 and 1 are the players)
    • Graveyard - by index starting from 0, counting only your graveyard
    • Stack - by order on the stack from bottom to top(from the first line to the last line of the stack)
  • card's index in hand starts from 0
  • cards with speed value higher(slower) than 2 cannot be cast on an opponent's turn.
  • cards with speed value higher(slower) than top card cannot be cast while that card is on the stack
  • cards usually cost energy as shown on their cost description

activate

format:
activate,target_artifact

  • target artifact is counted from 0 on your field only.
  • will fail if artifact has no activated abilities.
  • does not go on the stack

new_game

format:
new_game

  • works after the game ended.
  • would restart the game.
  • forgets uploaded decks.

Download

Download NowName your own price

Click download now to get access to the following files:

Tome of Staffs.rar 34 kB

Leave a comment

Log in with itch.io to leave a comment.