Recommend
2 
 Thumb up
 Hide
4 Posts

Pocket Civ» Forums » General

Subject: Pocket Civ javascript library rss

Your Tags: Add tags
Popular Tags: [View All]
Juho Rutila
Finland
Orimattila
flag msg tools
mb
As I posted already on different thread:

I have started to code PocketCiv Javascript library. Idea is that one can code UI client against it. The library implements all the game logic. It has AngularJS web client as a reference UI implementation.

There is some bolts missing but basic phases are implemented. Even if you don't know how to code, you can implement missing advances and with little coding implement some events. All the events and advances are their own modules that interact with the engine.

The code is in github: https://github.com/jrutila/pocketciv-js. Go forking!
3 
 Thumb up
1.00
 tip
 Hide
  • [+] Dice rolls
Juho Rutila
Finland
Orimattila
flag msg tools
mb
I set up a Heroku site where the game is running:
http://pocketciv-js.herokuapp.com/

The game is early in development so do not expect it to fully work. You should still be able to play the "Scenario 1".

I am posting this here just so that if someone interested in the game would like to help developing the Javascript version.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Juho Rutila
Finland
Orimattila
flag msg tools
mb
Just to let you know that I have progressed the implementation quite a bunch. You can now play the game at "Pocketciv Online" www.pocketciv.com.

All events and all Advances are implemented. Wonders and Capitol are not yet implemented. There is at the moment Scenarios 1-4 and 8.

There will be bugs and they can be reported to Github or here to this forum.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
D J
United States
Des Plaines
Illinois
flag msg tools
For what it's worth, I think your code was good there.

I'm writing a Python implementation, but only for the data side (like your initial library) for a project (https://github.com/aphorism44/pocketcivPython).

I won't be giving this a GUI or anything; it's just practice.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.