9

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
[-] ClemaX@lemm.ee 4 points 3 months ago

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.

[-] rclkrtrzckr@discuss.tchncs.de 1 points 2 months ago

Are there patterns for rules and logic?

[-] ClemaX@lemm.ee 2 points 2 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.

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

Game Development

2817 readers
14 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