Publisher | Two Units |
---|---|
File size | 2.64MB |
Number of files | 96 |
Latest version | 1 |
Latest release date | 2023-09-15 10:41:08 |
First release date | 2023-09-07 09:57:12 |
Supported Unity versions | 2018.4.2 or higher |
AI and Engine pack for Card Games contains 6 classic games:
- Blackjack
- Casino
- GOPS (Game of Pure Strategy)
- Hearts
- Ninety-Nine
- Sevens
All the games work well as minigames or challenges in a bigger game! You only need to implement the front-end; the engine handles the rest. Each game has three difficulty levels for the AIs: easy, medium, and hard.
The engines
All engines are implemented in C# and have the game's table and state easily accessible through public enumerations.
Each game has a unique AI with lightweight computation, allowing fast computation times, even on low-end devices. The engines always call the AI in a separate thread to ensure that the main thread won't get busy.
AIs
The AIs can be used separately to ask for a move or simply by letting the engine do its job! If you wish to provide a player with hints on the next moves, the AIs can help you with that as well. Interacting with the AIs happens simply through the MakeMove()-method!
Documentation
The documentation includes rules for all the games as well as script reference for all the necessary methods.
Demos
Demo implementations for all games are included in the demo script. The demo also includes things such as textures for cards, enabling fast proof-of-concept development. You are free to use these demos as is or modify them to suit your needs.
If you have any questions or suggestions for additional functionality for the pack, do not hesitate to contact us via email!
If you find this tool helpful, please let us know by leaving a review. All feedback is appreciated.