What GameSparks features to use for a turn based card game?
K
Kirk MacPhee
started a topic
over 5 years ago
I am creating a 4 player card game (2 teams of 2) that uses a standard deck of 52 cards.
Each round, one of the players leads a card, then it is the player to the lefts turn to play the next card. Once all 4 players have played a card that round is complete and a new round starts. The game is complete when all players run out of cards.
I am trying to determine what features of GameSparks would make the most sense. This is my first game and first time using GameSparks, although I have been programming for a number of years.
To start a match, the player has the option of:
Joining a game with 3 other random players.
Creating a private match to play friends
Joining a private match a friend created
When first planning the game I originally only planned on having private matches but GameSparks looks like it may make it easy to create public matches.
Before hearing about GameSparks I planned on using Firebase. Private matches would of been joined using a match code that would of been shared between players. This code would of been used to locate the path in Firebase to load the match data. There is very little match data that needs to be stored.
Game options (this will also contain current score)
Each players cards
Currently played cards
Cards won by each team
So I have 2 main issues:
What is the best way to start public/private matches
What is the best way to store/share current game state
Best Answer
T
Tech Support
said
over 5 years ago
Hi Kirk,
I advise having a look at the Hearthstone tutorial we have and the Join Challenge Through Code tutorial for some code snippets and use of matchmaking and challenges(Lobbies). GS Matches and Challenges will allow you to do all the things you've mentioned above.
There are a few guides to help you understand challenges and matches a lot more in the doc website. Here are some very important ones:
I advise having a look at the Hearthstone tutorial we have and the Join Challenge Through Code tutorial for some code snippets and use of matchmaking and challenges(Lobbies). GS Matches and Challenges will allow you to do all the things you've mentioned above.
There are a few guides to help you understand challenges and matches a lot more in the doc website. Here are some very important ones:
Kirk MacPhee
I am creating a 4 player card game (2 teams of 2) that uses a standard deck of 52 cards.
Each round, one of the players leads a card, then it is the player to the lefts turn to play the next card. Once all 4 players have played a card that round is complete and a new round starts. The game is complete when all players run out of cards.
I am trying to determine what features of GameSparks would make the most sense. This is my first game and first time using GameSparks, although I have been programming for a number of years.
To start a match, the player has the option of:When first planning the game I originally only planned on having private matches but GameSparks looks like it may make it easy to create public matches.
Before hearing about GameSparks I planned on using Firebase. Private matches would of been joined using a match code that would of been shared between players. This code would of been used to locate the path in Firebase to load the match data. There is very little match data that needs to be stored.
So I have 2 main issues:
Hi Kirk,
I advise having a look at the Hearthstone tutorial we have and the Join Challenge Through Code tutorial for some code snippets and use of matchmaking and challenges(Lobbies). GS Matches and Challenges will allow you to do all the things you've mentioned above.
There are a few guides to help you understand challenges and matches a lot more in the doc website. Here are some very important ones:
https://docs.gamesparks.com/documentation/configurator/multiplayer/
https://docs.gamesparks.com/tutorials/multiplayer/hearthstone-example/matchmaking.html
https://docs.gamesparks.com/tutorials/multiplayer/understanding-and-testing-challenges.html
Cheers,
Omar
Tech Support
Hi Kirk,
I advise having a look at the Hearthstone tutorial we have and the Join Challenge Through Code tutorial for some code snippets and use of matchmaking and challenges(Lobbies). GS Matches and Challenges will allow you to do all the things you've mentioned above.
There are a few guides to help you understand challenges and matches a lot more in the doc website. Here are some very important ones:
https://docs.gamesparks.com/documentation/configurator/multiplayer/
https://docs.gamesparks.com/tutorials/multiplayer/hearthstone-example/matchmaking.html
https://docs.gamesparks.com/tutorials/multiplayer/understanding-and-testing-challenges.html
Cheers,
Omar
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics