this post was submitted on 18 May 2024
9 points (84.6% liked)

Game Development

3444 readers
2 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 1 year ago
MODERATORS
 

I'd like to start developing a board game I love playing. There's an iOS implementation of it, but none for android. I don't even know where to start and which principles I could possibly follow. I've been working as a (business) software dev for the last 20 years, so I have some clue about programming.

I don't want to care too much about the graphics, it's the computer opponents and the game rules I am interested in.

No language constraint ;-)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 6 months ago (2 children)

You could start with a multiplayer server that handles the game logic, and a command line client that that can interact with it, create a game room and invite someone to it. You can handle realtime communication with socket.io. Once you have the client and some game rules, you can implement the client on a frontend using a canvas or game engine. You could then add the bot opponents using simple random number generation and some basic strategies.

[–] [email protected] 1 points 6 months ago (1 children)

Are there patterns for rules and logic?

[–] [email protected] 2 points 6 months ago

I think the command pattern would be useful. The user requests to perform a command. The command implementation can define preconditions and actions that mutate your game state.