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 ;-)

  • ClemaX@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    6 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.

      • ClemaX@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        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.