Author

Topic: [Development] An opensource framework to build bitcoin based games (Read 1563 times)

legendary
Activity: 965
Merit: 1000
If a game is strategic enough like http://alliancesatwar.com/, http://www.travian.us/  or http://warofempires.com ( yes I know the UI is lacking in them because they were built in early 2000s). There is not a lot a bot can do. Users have to make active strategic decisions. Imagine a  fantasy football/soccer game. What would a bot do?

No, it was pretty much the old atari combat game. 2 tanks shooting at each other.
member
Activity: 114
Merit: 10
I like the site Moocoin. Very smooth, as one would expect from Node.js. I have zero experience with it, but eventually I would like to use it.

I would like to make the the entire things open source and have the code available on github.

In the config portion if someone mentions :

userLogin = 'true';

Then the game players will be presented with a login/registration system in Bootstrap modals. Otherwise, users will be remembered via cookies.

Devs can also mention -

facebookLogin = 'true';
to initiate a facebook login for their game if they so wish.

Calling a leaderboard function for example leaderboard($table_name,points); generates a dynamic leaderboard based on points or leaderboard($table_name,kills) based on kills.


The idea is to move as far away from gambling games as possible and be able to make complex games on web and eventually on Android/ios where you can buy in-game items using bitcoins. What I would really like to see is making a Fantasy soccer game on top of the framework before the world cup.

I wrote some code for a JS combat (tank) game. Bank then, such a framework would have been helpful. But the main problem then was the concern about cheaters using bots.

If a game is strategic enough like http://alliancesatwar.com/, http://www.travian.us/  or http://warofempires.com ( yes I know the UI is lacking in them because they were built in early 2000s). There is not a lot a bot can do. Users have to make active strategic decisions. Imagine a  fantasy football/soccer game. What would a bot do?

I'm PHP without framework, but i learn fast

I am new to Laravel myself. But it makes sense to learn it since it is definitely the future of PHP.  

For art, it would be nice to get someone to create things like these:

http://www.clipartguide.com/_pages/0511-0811-0415-3751.html
member
Activity: 112
Merit: 10
Do you moo?
We built something like this.  The API and dev platform is still in it's infancy, but we're waiting for a developer to sign up to create a game before solidifying more in the API.  We've already built two games on our own platform.

Here's how we built it:
The developer provides a package with server and client modules.  The server is in node.js.  We make a couple of calls into the developers code:
startGame(playerOne, playerTwo, wager, ...)
makeMove(playerId, moveData)
playerTimedOut(playerId)
etc.

We also provide an API for the dev to call:
winGame(winningPlayer, losingPlayer)
drawGame()
updateClients(gameData)
etc.

That handles the server logic and the developer doesn't need to worry about bitcoin transactions, security, hosting, operations, database, etc.  The games files tend to be very focused on the game rules because we handle everything else.

On the client side, the dev provides .html, .css, and .js. 
We dynamically load the html, js and css and place it in the "game area" of our page.  We call into the .js with startGame, timeoutTick, updateGame, etc.
We also provide an API on the client side for communicating back to the server.

That's pretty much it.  We share 40% of the revenue a game makes back with the developer.  VERY fair considering the amount of work needed to make a new game on the platform vs. the amount of work we spent creating it, securing it, serving it, operating it, etc.

Check out the site at https://www.moocoin.com to see the two games we already created.  We have a third game on the way, too.
If you want to build something on the platform, or if you just need help getting this project off the ground, let us know. 

Thanks,
MooCoin
full member
Activity: 238
Merit: 100
Keep smiling
i can design vectors graphics

my portfolio

webgraphia.tk
full member
Activity: 214
Merit: 100
I'm PHP without framework, but i learn fast
legendary
Activity: 965
Merit: 1000
I wrote some code for a JS combat (tank) game. Bank then, such a framework would have been helpful. But the main problem then was the concern about cheaters using bots.
member
Activity: 114
Merit: 10
member
Activity: 114
Merit: 10
Hello,

We are trying to develop a framework that will enable developers to build strategy games that would be integrated with Bitcoins and other cryptocurrencies (litecoins, primecoins, peercoin etc ). This framework would be opensource for the community to develop on. I am a developer in this project.

FAQ:

What would the end product look like?

With our framework, one would be able to make a game like http://www.travian.us/  or http://us.ikariam.gameforge.com/ with integrated bitcoin/crypto-currency in-game purchase system. Fantasy Football or Fantasy sports game can also be built on this. We will provide building blocks to make a modern/secure game without you having to build everything from scratch. If there is enough interest from the community, we could also set up a list for available designers, developers, and artists who are interested in making games.

If you are a developer, what do you need from us?

I am but one man with a full time job. This is a side-project and help from fellow interested developers would be appreciated. We are in touch with other developers who could potentially help us with payment processing side (with multiple crypto-currencies). But we do not have any help at the moment for developing the game framework itself. So far it is just me. While I can probably do it myself, things would be a lot better (two heads is better than one, and three is better than two) and go a lot faster if someone who is interested joins this open source project.

Okay, so what specifically are you looking for?

First of all - The platform would be written in php, since I am most comfortable with that. I know there are probably better solutions out there. Porting it to/ Intgerating it with node.js to give the applications built on this framework  a more real-time appeal can be added later. I will use Laravel php framework for now.

So someone who is

  • Comfortable with AJAX based websites
  • Has good experience with JQuery and Javascript (Because although I use it, I am an idiot at it - trying to get better.)
  • Comfortable with MVC architecture with has used PHP frameworks like Laravel (or are interested in learning it)

Would be an ideal help for backend development.

For Front-end, I would like to make things looks pretty. Since I am not a CSS guru, I am using Bootstrap framework. So anyone who is good at/interested in building good UI/UX platforms is welcome.

If you are an artist and can make cool vector arts or cartoons. We need you too!

 
What do you gain from this?

  • This is a learning experience for me, and the rest of my team.
  • We also believe that bitcoin world deserves more than just gambling games.
  • Moreover, I would like to make a couple of games myself on this platform make some $$ and pay for that expensive vacation to Hawaii.  You can help me with the platform, make your own games and join me in Hawaii


Is anyone interested in developing such a thing with me?

And is anyone interested in having such a platform?
Jump to: