Beta Development: Militia Man AI
Beta 0.2 - Militia Man
the new beta update "Militia Man" includes the new AI opponent with the same nickname.
a very simple AI to play against, uses a deck of 30 Militia, this opponent is going to spam creatures on the field till it runs out of energy and attack with everything it got.
it's easy to defeat with any blocking but careless players can still lose to the Militia avalanche.
Variants include mixing Militia and Thugs, and will also include other 1 cost attack focused creatures in the future, this new AI opponent is the first step towards the more complex opponents that you will face in the later stages of the Beta.
From Basic AI to GrandMaster
in order to code things in a more sensible way I created the "BasicAgent" class that handles 2 things:
- ask AI what deck it will use.
- ask AI to make a move based on the current state of the game.
the state includes all the data that would be available to a player in that position and does not include hidden data like opponent's hand(only card count).
Deck Editor
I will still be working on making the GUI for the Deck Editor so you can go ahead and make your own decks to fight the AI, the main thing I'll be prioritizing is saving the last used deck and loading it on game start, after that will be getting a proper deck editor that just lets you add and remove cards from your deck, swap deck files, everything is currently on the back end on that front and is progressing slowly as I focus more on the AI.
Conclusion
MilitiaMan Update is currently including 1 AI opponent with 3 decks and is playable.
I did find some bugs regarding combat triggers(Guard not surviving Thug's attack probably due to not triggering the guarding boost, and Thug getting combat boost on being blocked) I will solve those by the next update.
Files
Get Fundamentals Card Game
Fundamentals Card Game
Fundamentals Card Game is a multiplayer CCG where time is used as a resource.
Status | In development |
Author | Dimanari |
Genre | Card Game |
Tags | Deck Building, Multiplayer, Turn-based |
Languages | English |
More posts
- Refactor BetaDec 16, 2023
- Beta Delay AnnouncementDec 01, 2023
- Beta Development: Deck EditorNov 25, 2023
- Beta Development: Drawing AnewNov 23, 2023
- Beta 0.1 ReleaseNov 23, 2023
- Beta Development Day 5 + Alpha2.03Nov 23, 2023
- Beta Development Day 4 + Alpha2.0Nov 22, 2023
- Beta Development Day 3 + InsightsNov 20, 2023
- Beta Development Day 2Nov 19, 2023
Leave a comment
Log in with itch.io to leave a comment.