Skip to main content

Questions tagged [ai-player]

Indicates that the challenge involves a game where at least one of the players is simulated by a piece of code

Filter by
Sorted by
Tagged with
54 votes
2 answers
4k views

Build a fewest-moves freecell solver

In the game of Freecell, you are tasked with building four foundation piles in suit from ace to king, on a layout where you build downward in alternating colours. However, you can only build one card ...
Joe Z.'s user avatar
  • 35k
34 votes
17 answers
5k views

Create a Flood Paint AI

In the game of Flood Paint, the goal of the game is to get the entire board to be the same colour in as few turns as possible. The game starts with a board that looks something like this: ...
Joe Z.'s user avatar
  • 35k
19 votes
5 answers
4k views

2048 Bot Challenge

We have been cloning 2048, analyzing 2048, but why haven't we played it yet? Write a 555 byte javascript snippet to play 2048 automatically, the best score after an hour will count (see scoring below)....
David Mulder's user avatar
18 votes
1 answer
1k views

Tetris strategy

Your task is to implement a Tetris strategy balanced in terms of score vs code size. In this version of the game tetrominoes are rotated and dropped from above into a grid of 20 rows and 10 columns. ...
ngn's user avatar
  • 15.3k
17 votes
4 answers
2k views

Program a 2048 AI using an existing Framework

EDIT : Recently, my question has been proposed as a duplicate of 2048 Bot Challenge. I would like to stress that this question is different from that question, and will require answers to be thought ...
Sam Weaver's user avatar
12 votes
3 answers
899 views

Let's Play Hide and Seek!

The user will hide, and the computer will try to find them. First, the program will take an input, for the size of the grid. Like 5x5, 10x10, 15x15, etc. The grid won't always be a perfect square. ...
JKonowitz's user avatar
  • 141
12 votes
1 answer
580 views

Implement MENACE

Background MENACE (Machine Educable Noughts And Crosses Engine) is a rudimentary shallow machine learning algorithm for the game Noughts and Crosses, created by British computer scientist Donald ...
Geza Kerecsenyi's user avatar
8 votes
3 answers
1k views

Build a perfect AI for the game 15

In the game 15, two players take turns selecting numbers from 1 to 9 (without choosing any number that either player has already selected). A player wins if he or she has three numbers that add up to ...
Joe Z.'s user avatar
  • 35k
5 votes
1 answer
714 views

Bot: Outsnake the game!

So, I wrote a simple Javascript game (as yet unnamed) and naturally I wanted to write an API so I could write a bot to play it for me, and naturally I wanted to let the PPCG community have a go for ...
AJFaraday's user avatar
  • 11.8k
5 votes
0 answers
366 views

Tetris overlooked move counter

Playing tetris is fun. Watching an AI play tetris is also fun. Some tetris AIs will always ignore the possibility of maneuvering a piece under an overhang, which makes me sad. It means that the ...
BenGoldberg's user avatar
4 votes
2 answers
522 views

Chase the Easter Bunny and collect his eggs

Chat room: https://chat.stackexchange.com/rooms/106513/easter-bunny-challenge Git repo: https://github.com/AJFaraday/easter_bunny_hunt The garden is a 2-dimensional grid with 49 rows and 49 columns. ...
AJFaraday's user avatar
  • 11.8k
3 votes
2 answers
643 views

Arithmetic Golf: Reach 2011

This is an ai-player challenge. Your goal is to reach the number 2011 as quickly as possible, or to get as close to it as you can. Rules: A "hole" consists of a rectangular grid of digits (0-9). ...
migimaru's user avatar
  • 1,100