https://github.com/jrouwe/onlinefrontlines
Turn based strategy browser game
https://github.com/jrouwe/onlinefrontlines
Last synced: 3 months ago
JSON representation
Turn based strategy browser game
- Host: GitHub
- URL: https://github.com/jrouwe/onlinefrontlines
- Owner: jrouwe
- License: other
- Created: 2012-12-30T15:56:18.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-30T22:31:15.000Z (over 12 years ago)
- Last Synced: 2025-01-19T21:41:56.831Z (5 months ago)
- Language: Java
- Homepage: http://jrouwe.nl/ofl/
- Size: 21.9 MB
- Stars: 5
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Overview
--------Online Frontlines is a turn based strategy game that you can play in your browser. The biggest difference with other strategy games is that you can see the entire map on one screen and you cannot create new units. You play the game online versus someone else. You can either play through mail or you can play live.
Screenshots can be found here: [screen shots](https://github.com/jrouwe/OnlineFrontlines/wiki/Screen-shots)
Try out playing the game against yourself here: [play game](http://jrouwe.nl/ofl/game.html)
Installation instructions
-------------------------The following guide assumes you're running Windows 7.
You need to have MySQL 5.5, Flex 2 SDK and Tomcat 5.5 installed.
Copy everything from the /tomcat folder to your tomcat setup folder
Make sure a user with 'manager' role is set up in \/conf/tomcat-users.xml and fill in the username / password in \/build.properties.
Change the 'non-SSL HTTP/1.1 Connector' to:
Change the 'SSL HTTP/1.1 Connector' to:
Now make a self signed certificate in your home folder:
cd \Users\
"%JAVA_HOME%\bin\keytool" -genkey -keyalg RSA -alias tomcat -storepass tomcat -keysize 2048
As 'first and last name' (CN) fill in the domain name you will be running the application on (localhost?).Make sure you accept this certificate in your browser.
Edit \/conf/context.xml and add a JDBC resource (in the \ element):
Override the error page in \/conf/web.xml by adding this in the \ tag:
404
/NotFound.html
500
/ServerError.html
java.lang.Throwable
/ServerError.html
You can override any setting in \/web/WEB-INF/config/global.properties in \/conf/web.xml too:
name
value
Now start tomcat using:
catalina start
Edit \/web/WEB-INF/config/global.properties and fill in the relevant hosts / ports and passwords and facebook information.
Create the database with:
ant createdb
then install the application with
ant install
Under UNIX
----------
Install tomcat:apt-get install tomcat5.5
Follow the installation instructions for Tomcat on Windows.
Edit /etc/default/tomcat5.5 and add:JAVA_HOME=/usr/lib/jvm/java-6-sun
JAVA_OPTS="$JAVA_OPTS -Xmx384m -jvm server"
Edit /usr/share/tomcat5.5/conf/policy.d/03catalina.policy and add the lines:permission java.io.FilePermission "${catalina.base}${file.separator}webapps${file.separator}OnlineFrontlines${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read";
permission java.lang.RuntimePermission "setContextClassLoader";
in the tomcat-juli.jar codebase.