AI programming in Python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

AI programming in Python

Hey I would like to programm an AI in Python. This should do play a little Game called CoRe. The Artificial Intelligence should calculate the probability of the turn and perform it with the most points. Sry is Google Translate šŸ˜…

28th Aug 2017, 1:03 PM
Ninj4
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.
28th Aug 2017, 2:07 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 5
It's okay. That's what we are here for.
28th Aug 2017, 2:45 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 4
Tell me your game. Code might help more than AI šŸ˜ƒ
28th Aug 2017, 1:46 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 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
28th Aug 2017, 2:11 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
28th Aug 2017, 2:46 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 3
At least YOU use Google Translate....
28th Aug 2017, 1:46 PM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 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.
28th Aug 2017, 2:04 PM
Ninj4
+ 2
Okay and do you Know how to make this with probality?
28th Aug 2017, 2:09 PM
Ninj4
+ 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? šŸ˜†
28th Aug 2017, 2:07 PM
Ninj4
+ 1
Thx :^)
28th Aug 2017, 2:44 PM
Ninj4