8 ms·
Show HN: Axis - a React.js multiplayer math game
- nutate 12y agoawesome!
- bcohen123 12y agoThis looks awesome!
- deleted 12y ago[deleted]
- Aeolun 12y agoIt appears some of my functions just vanish?
- deleted 12y ago[deleted]
- tiglionabbit 12y agoIs there a link to the source code?
- deleted 12y ago[deleted]
- zan2434 12y agosource here: https://github.com/igul222/Axis https://github.com/igul222/Axis
- stephentmcm 12y agoShould probably put a license, readme and maybe some contrib guidelines up.
- Cogito 12y agoGreat concept, but it takes too long to plan shots. It means that people drop out of games quickly. Having a library of functions available would definitely help with this.
- gamerDude 12y agoIt would be nice to have a beginner version where we can choose functions from a menu and get an idea of what the curve looks like. Then, once I am back up to speed I can play for real.
- akst 12y agoIf you have OS X, you could probably pop open Grapher and try a few curves there. But if you don't, I'm sure there's some web app for visualising curves as well.
- cbab 12y agoVery nice concept. Reminds me a lot of my TI-83 graph calculator days with a small dose of Scorched Earth :).
- madez 12y agoYeah. I loved playing with the graph function. I felt so powerful to define curves and can see them being plotted.
- NH_2 12y agoSomeone just rocked me with a step function. I'm intrigued.
- svckr 12y agoThat surprised me as well. After some thinking I came up with min and max. If, for example, I want to change direction after x==4 I can do use -1.5(max(x,4)-4) 0 4 -----, \ \ Maybe there are more tricks like that?
- dmak 12y agoI am not sure if this is a step function, but I saw someone pretty much do an octagon shape to hit someone. How?
- madez 12y ago(x+1) * max(0, sign(x)) * (1-max(0, sign(x-1/sqrt(2)))) + (1+1/sqrt(2)) * (1-max(0, sign(x-1/sqrt(2)-1))) * max(0, sign(x-1/sqrt(2))) + (-x+sqrt(2)+2) * max(0, sign(x-1/sqrt(2)-1)) * (1-max(0, sign(x-sqrt(2)-1)))
- madez 12y agoI was surprised to see that many people didn't know how to define a step function. One way to do it is: size_of_jump*max(0, sign(x-position_of_jump)). Also, max(0, sign(x-position)) allows you to switch on and off other parts of your function like a high frequency sine that can spray an area.
- madez 12y agoIts easy to write a tool that produces a function in every round using step functions that kills the maximal number of enemys. I love this kind of game so I think its very sad that I don't see a way to rescue it. Even if you would restrict the available operations just to addition and multiplication its still quite easy to write a tool that produces functions that are arbitrary close to any curve that could be defined with step functions.
- bandwevil 12y agoYeah, step functions really break this. I think I was in a game with you or some else with the same general idea, they won on the very first turn with the sine wave trick.
- readerrrr 12y agoAgreed, functions should be continuous and no step functions.
- captaintacos 12y agoJust played this and it is great. However the other player (in the chat) was saying that he could not fire sometimes. And later on I was also unable to both post messages and to use the FIRE button. Never recovered. Server problem perhaps? In any case I will be bookmarking this. This would work wonders to explain math :)
- chm 12y agoYou might have been playing with me. I hit you with an exponential function? I think the game crashed when I hit one of your locations.
- captaintacos 12y agoah yes! :) Sounds like it was you. Oh by the way. I think I had 2 players and you had one because you could have hit your other one since the beginning. After you hit one of mine, it was disabled and I was just with one playable Player left.
- chm 12y agoYes, it took me a while to figure it out!
- chromakode 12y agoThis is awesome. I wish turns were simultaneous, so that there was less time spent waiting.
- krat0sprakhar 12y agoFantastic. Awesome game! Few suggestions: 1. Show me a ghost path for the previously fired missile 2. Have a library of functions to choose from with an idea of what the curve looks like 3. Reduce the waiting time. or add some documentation in your readme / some contribution notes and I'll be glad to send in PRs
- xinkr 12y ago4. Add a 'team' option Great game!
- jastr 12y agoand it's down
- cardigan 12y agoWrote a script which you can use to kill all your opponents in one turn. http://pastebin.com/FYXcdmpi http://pastebin.com/FYXcdmpi :p - Shariq
- madez 12y agoIn the general case that is not possible. If there is a block vertically in between of two opponents you can not destroy both in one turn.
- zan2434 12y agojust added function previews to make playing easier!
- chm 12y agoRemove it! At the very least give us the option to create games with/without previews.
- djsmith42 12y agoAs odd as it sounds, I think this game caused my Mac to run out of memory.
- readerrrr 12y agoReally great idea, too bad it freezes almost every game. I think it just died...
- galapago 12y agoAn error occurred in the application and your page could not be served. Please try again in a few moments.
- akst 12y agoLooks like it's gone :( but it was great fun
- readerrrr 12y agoIt is crashing all the time, it should be back soon. Even with all that I still keep coming back.
- kolbe 12y agoGood job. I played this game way more than I should have last night.
- joshdance 12y agoLooks great but neither buttons start a game for me.