While I have been enjoying my pinball project, the space required to contain my random electronics experiments has become too much for my desk to handle, so I’m putting it on hiatus for the time being, and building a little Python Battleship game.
So far, I can store a game board, add ships using an x,y coordinate and an orientation (across or down) and validate whether or not that ship placement is allowed based on remaining space in the row or column, and conflicts with other ships already placed.
As an added bonus, this program doesn’t require me to plug it into an Arduino board, so I can work on it while I’m away from my desk. Looking forward to fleshing out the gameplay mechanics, and figuring out how to do basic, one-sided play.
My third-year university group project was to create a multiplayer board game, and we failed miserably because we picked a game whose rules were nauseatingly complicated.
Battleship is much…simpler. Thus, I try again.