Create a class named BlackBoxGame for playing an abstract board game called Black Box. You can see the rules here (https://en.wikipedia.org/wiki/Black_Box_%28game%29). It takes place on a 10x10 grid. Rows 0 and 9, and columns 0 and 9 (border squares), are used by the guessing player for shooting rays into the black box. The atoms are restricted to being within rows 1-8 and columns 1-8. In our version, the guessing player will start with 25 points. As stated on the Wikipedia page, "Each entry and exit location counts as a point" that is deducted from the current score. If any entry/exit location of the current ray is shared with any entry/exit of a previous ray, then it should not be deducted from the score again. Each incorrect guess of an atom position will cost 5 points, but repeat guesses should not be deducted from the score again.There is an online implementation here (http://www.pythononline.co.uk/blackbox/) that you can try out to get a feel for the game.
Date Posted: 02/08/2020
Category: Computer Science Due Date: 06/08/2020 Willing to Pay: $25.00