Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (521)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Games Center / Showcase / Re: Graphwar on: 2012-02-03 17:32:08
Really great idea!

You should enter this in the STEM comp: http://www.java-gaming.org/topics/national-stem-video-game-challenge/25197/view.html

That sounds really nice, perfect competition for this game, unfortunately I am not a US citizen.
2  Games Center / Showcase / Re: Graphwar on: 2012-02-02 17:05:27
I noticed You have source available, so I'll take a look later on

BUT ...

The most I'm interested of is the part that interprets the math function. Is this done by a lib or did You write something Yourself ?
What functions does it support ? etc...

I have an old old utility program, that visualizes some functions, but sofar the functions are hardcoded. I'd love to rewrite it so I could just dynamically input the equation.


I wrote it all myself, the code you would be interested is in PolishNotationFunction.java . It is mostly not specific to the game and would probably be easy to use on your own code with minimal modifications. The functions supported are:

sqrt()
log()
ln()
abs()
sin()
cos()
tan()
exp()

and the operators are: + - / * ^

Adding new functions would also be simple, I had actually a few more functions implemented but decided to remove from the game, like hyperbolic sines. Adding new operators would be much more complex.
3  Games Center / Showcase / Graphwar on: 2012-01-31 18:23:42

Graphwar is an artillery game in which you must hit your enemies using mathematical functions. The trajectory of your shot is determined by the function you wrote, and your goal is to avoid the obstacles and your teammates and hit your enemies. The game takes place in a Cartesian Plane.

It's an applet and I have a website for it: www.graphwar.com

Up to 10 players can play online and it is also possible to play against a computer, but be careful, the computer is really good so try to play against very low levels (around 10) in the beginning.

There is a tutorial and I recommend reading it to understand how to play: http://www.graphwar.com/tutorial2.html

The code is open source and released under the GPL and is available on the website.

Cheers

Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xFryIx (57 views)
2014-11-13 12:34:49

digdugdiggy (35 views)
2014-11-12 21:11:50

digdugdiggy (29 views)
2014-11-12 21:10:15

digdugdiggy (23 views)
2014-11-12 21:09:33

kovacsa (46 views)
2014-11-07 19:57:14

TehJavaDev (50 views)
2014-11-03 22:04:50

BurntPizza (50 views)
2014-11-03 18:54:52

moogie (65 views)
2014-11-03 06:22:04

CopyableCougar4 (63 views)
2014-11-01 23:36:41

DarkCart (149 views)
2014-11-01 14:51:03
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!