lpszeto / BoggleGame

0 stars 0 forks source link

Possible to create an AI-vs-AI game-- Minor #3

Open malikh22 opened 4 years ago

malikh22 commented 4 years ago

Component: Local Game/Activity

Problem: It is possible to create an AI-vs-AI game. The game correctly displays a message saying that no GUI player was created, but it still creates a game, which should ideally be impossible. This is a minor issue as this is a bit of an edge case. An easy fix would be a check for if there is a human player in the game.

Steps to recreate: 1- set both players to dumb AI 2- start the game 3- the game gives you a screen saying "No GUI player was created on this device. The game is in progress, but play is not visible.

Gmunster33 commented 4 years ago

We left this in for now, since it would likely require significant modification to the game framework. And if you are ever very bored, it is interesting to run an AI vs. AI game from the debugger every once in awhile...

malikh22 commented 4 years ago

Not an issue. Should be ok.