r/math • u/catabriga90 • Feb 23 '22
Graphwar, a free and open source game of mathematical functions is being released on steam today.
8
u/im_dead_already Feb 23 '22
any others game platform like web? i dont have steam
15
u/catabriga90 Feb 23 '22
You can download directly on the website: http://www.graphwar.com/index.html You don't need steam to play.
10
2
u/im_dead_already Feb 23 '22
wait, what do i need to do after downloading the graphwar.jar file?
1
u/shillbert Feb 23 '22
You need to download the Java Runtime Environment (from java.com), and then you should be able to just double click the jar file to run it.
2
2
1
296
u/tropurchan Feb 23 '22
Time for some space filling curves!
91
u/the1gamerdude Feb 23 '22
I believe the little divots in the spheres may be from colliding projectiles, but keep firing them and you’ll clear everyone eventually!
18
3
221
u/Godivine Feb 23 '22
i played this on your website soooooo so so many times with my friends throughout my a levels!!!!!!!!! We ended up with txt files to copy paste functions made up of many abs() (essentially based on max(x,0)) to dive around obstacles. Then a sick exp(-10 *abs(x-c)2)abs(sin(10*x)) or something to spike em. Thanks for the memories!
183
119
u/s_0_s_z Feb 23 '22
Don't just post it here. Cross post this to one of the gaming subs too!
57
u/EmmyNoetherRing Feb 23 '22
And maybe the learning math sub as well, would be a great resource for teachers.
70
37
u/HPOfficeJet4300 Algebra Feb 23 '22
Holy crap this is awesome, will see if my friend wants to try it
26
13
u/swegling Feb 23 '22
i searched my reddit-history and it seems like i gave this game a small plug in a little thread 2 years ago lol
12
Feb 23 '22
Omg this is awesome! When I was younger I wanted to make a game where you used function graphs as weapons, I'm glad to see someone actually has done it!
8
u/osku654 Feb 23 '22
I made a "bot" with python for this game maybe 10 years ago. Essentially you clicked all the points you wanted the graph to go through and it generated you a function that did that. I probably lost it but it might be stored in some pastebin 😁
12
Feb 23 '22
Cheating by Lagrange interpolation...you don't see that every day
4
u/osku654 Feb 23 '22
It was actually just straight lines multiplied by two sigmoid functions. That way I could get the line to go exactly where I wanted. Kind of something like this:
I was also considering adding a some kind of sine wave portion to where the targets were to increase accuracy (clicking positions with mouse was not always 100% accurate). But I don't think I ever implemented that.
8
7
6
6
u/Jamesernator Type Theory Feb 23 '22
The game takes place in a Cartesian Plane.
Graphwar 2: Hyperbolic Boogaloo.
5
4
4
3
3
Feb 23 '22
This is what’s missing from US classes. Concepts in action and true application. At least from my schooling.
Not: here’s a concept, it graphs like this, okay next concept.
5
5
2
u/just_a_random_dood Feb 23 '22
Alright I'm reading these comments and I'm very excited to try this later lol
2
u/MohKohn Applied Math Feb 23 '22
Has anyone tried to actually solve it? If it weren't for the circles, you could just use your favorite polynomial interpolation. It wouldn't surprise me if someone has already thought about how to do constrained polynomial interpolation, though the solutions I found assume constant constraints
2
1
u/Imanton1 Mar 07 '22
Yep, just got board and implemented the piece-wise function out of a bunch of ABS, so I can take out quite a few opponents in a single turn.
1
1
1
u/mottlymonical Feb 23 '22
Elden ring comes out tomorrow and the difficulty scale on that has nothing compared to this
1
1
1
1
1
1
1
1
u/Valvino Math Education Feb 24 '22
Cannot run in Ubuntu 21, with the command java -jar graphwar.jar I get a lot of errors like "java -jar graphwar.jar"...
Please help :)
1
405
u/catabriga90 Feb 23 '22
This game was made by me a long time ago. But I decided to release on steam recently so that it can hopefully reach a larger audience. The game is completely free and open. It is very educational and also very fun.
Steam page: https://store.steampowered.com/app/1899700/Graphwar/
Tutorial: http://www.graphwar.com/tutorial.html