Source of games

Game development with Board Game Arena Studio
Post Reply
morphles
Posts: 13
Joined: 05 January 2014, 14:21

Source of games

Post by morphles »

I'm trying to build my first game, when connected using SFTP I see my game, reversi and gomoky, but I want to see sources of more involved games to better understand what is best way to implement what I want. For example I need multipart player turns, that is player does action, and does other action. In my case I'm doing Connect6, so player first plays one stone, and then immediatly another stone. Do I need to separate both stone in separate states/action, or can they be on action/state. Though I would asume more questions might arise, thats why I want to browse code for references.
sparr
Posts: 65
Joined: 08 April 2014, 02:12

Re: Source of games

Post by sparr »

I don't think the source to other games is available :( I'd be happy to share mine if I could ever get some feedback from the admins on what I need to do to get it publication-worthy. Sadly the admins/devs for the site are very busy and don't have a lot of time to spend on us studio devs.

Regarding your question... You could do it either way, depending on which feels easier for you to implement. You could have one PlayStone state that can transition to itself, and you keep track of whether it's the first or second stone in some way, or you could have PlayFirstStone and PlaySecondStone, and you'd probably want to put most of their functionality in shared functions.
morphles
Posts: 13
Joined: 05 January 2014, 14:21

Re: Source of games

Post by morphles »

Thanks for the info. Lets hope adminstration will get some time. And IMO sources should definetly be made accessible to other devs. As even TOS mentiones that source can be used in such way, so everyone has agreeded to that enyways.
Post Reply

Return to “Developers”