On this page:
6.1 Pong AI
6.2 Checkers
5.92

6 2/14: A Computer Pong Player

Due: 2/14 at 11:59pm.

Language: class/1

6.1 Pong AI

Sometimes, all you want is a quick game of Pong, but you can’t find anyone to play with. In this assignment, we’ll solve this problem.

You need to implement a computer player that plays pong with the server you wrote previously. This player will be a stand-alone world that communicates with the server using just the same messages that you sent back and forth. Since that design ensured that players couldn’t cheat, your computer player won’t be able to cheat either.

Your computer player does not need to be perfect, but it should make reasonably intelligent decisions, such as moving toward the ball.

Your computer player should effectively play against itself, as well as against your human player.

6.2 Checkers

Complete the checkers lab.