'Guess It' is developed to demonstarte 'Information Theory' under 'CS Unplugged' activities.
- Tools and Technologies - Java , Greenfoot, MongoDb.
- Deployed on Heroku container.
- Java JDK Version 1.8
- Greenfoot Version 3.0.4
- MongoDb (mLab)
- Eclipse Mars Release (4.5.0)
- Tomcat 1.7.0
And of course Dillinger itself is open source with a [public repository][dill] on GitHub.
- GuessIt requires Java 1.8. Download it and add bin folders path to system path.Install Java 1.8
- Download and install Greenfoot.
- Clone this repository to your local machine and click on 'project' icon.This will open the game in greenfoot ide.
We are using mongodb, hosted on mLab for storing game's information. Otherwise you can also use mLab database connection URL
Create an account in mLab and add a new deployement database using 'Create' button.Cloud provider will be Amazon AWS Single Node Cluster.Provide deployment's name as 'guessit'. Now copy the MongoDB URI.You can use this uri in web service to store and get data.
Install the dependencies and devDependencies and start the server.
Guessit's webservice is very easy to modify and deploy in a Heroku Container. By default, pom.xml is added to take care of the deployement process. So in your eclipse project you have to do this following steps to deploy webservice in cloud.
- Login to Heroku and create an app.
- Set this app name in pom.xml under
Everytime you change code, you first need to use 'maven claen', 'maven install' and lastly deploy using 'maven-build'(using guessit_deployment configuration)
More details steps can be found here
MIT
Free Software, Hell Yeah!