10 Respostas
+ 3
Oh I see.
Firstly, think of a winning strategy.
How can a player have a higher chance of winning?
How can a player defend himself?
Then, code the game.
Create a board using a 2d-list.
Then, get your 2 players to strategise.
+ 5
It's okay.
That's what we are here for.
+ 4
Tell me your game. Code might help more than AI 😃
+ 4
If you wanna create a game with "AI", take the positipn of the player.
And @Ninj4, th random module helps you with that.
Wish you luck! :D
+ 4
https://code.sololearn.com/cTAbcT7HsBjS/?ref=app
Here's an AI code
+ 3
At least YOU use Google Translate....
+ 2
The Games called CoRe and is an API. Okay I hope it will help:) Here is the link:
https://github.com/ac1235/core
Game Rules
Each player turn consists of placing a stone on the board and flipping (turning into own ones) the opponent's markers cached.
A stoned is cached if it is surrounded by enemy stones either vertically or horizontally.
When no more moves are possible, the game ends and the player with more stones on board wins.
The board is an unchecked 8-by-8 chess board.
Corner Kills
If the enemy placed a stone at the corner of the board, it can be flipped by placing a stone diagonally adjacent to it.
This is possible at any time for every corner.
+ 2
Okay and do you Know how to make this with probality?
+ 1
I already made an AI but it wasn't a good one. Now I will try an AI how I descripted you. But I don't Knie how I can prgramm this. Can you help me? 😆
+ 1
Thx :^)