Page 1 of 1

Solo mode with ai player

Posted: 16 January 2021, 17:51
by Nivvdiy
Hello,

I work on Pharaon, this game can be played from 1 to 5 players.
For the solo mode, the player play against a "Traitor".
So, i would like to know if it's possible to create an AI player from the framework for it, or if i have to virtually add one. Would be better to have an AI player to compute the right amount of point for the player and the AI, instead to have "-1" to the player to make him lost.
------------------------------------------------------------------------------------------------------------------------
Bonjour,

Je bosse sur Pharaon, ce jeu peut être joué de 1 à 5 joueurs.
Pour le mode solo, le joueur joue contre un "Traître".
Du coup, je voudrais savoir si il est possible de créer un joueur IA depuis le framework, ou si je dois l'ajouter virtuellement. Il serait préférable de l'avoir en tant que joueur IA pour calculer correctement les points du joueur et de l'IA, plutôt que d'avoir "-1" au joueur pour le faire perdre.

Re: Solo mode with ai player

Posted: 18 January 2021, 04:39
by Victoria_La
You can have solo mode, that is the game with 1 player. There is no 2nd player in such game.
They AI function is handled by game states of the game. Solo games can only played in training mode, so not ranking calculated
based on points. You can just present a final dialog just before end of game on how many "points" they had but then you have to set it to -1
for loss (you can also raise issue/bug with framework to support a proper scoring for solo).

Re: Solo mode with ai player

Posted: 18 January 2021, 10:33
by Nivvdiy
Ok, i see :)

Thanks for your replies, i'll do like that.

Re: Solo mode with ai player

Posted: 09 August 2024, 23:34
by mlucas1704
Hello,
The project for Pharaon is still alive?