This website requires JavaScript.
Explore
Help
Sign In
annabunches
/
treewars
Watch
1
Star
0
Fork
0
You've already forked treewars
Code
Issues
Pull Requests
Releases
Wiki
Activity
43
Commits
1
Branch
0
Tags
07fc8c67c1a45b1f72b4f9098ebf6c7e2a55eb29
Go to file
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
Anna Wiggins
07fc8c67c1
Removed the concept of edges in favor of a proper tree-style approach, with each vertex knowing about its neighbors. This seems to have broken both Grah::crosses_edge() and Graph::remove_vertex. and the move radius circle doesn't draw any more. Go team.
2011-06-27 18:10:24 -04:00
background.bmp
Use vertex's individual radius for all relevant calculations
2011-06-23 12:46:32 -04:00
debug.h
Added code to prevent edges from crossing
2011-06-23 13:54:28 -04:00
drawutils.cpp
Removed the concept of edges in favor of a proper tree-style approach, with each vertex knowing about its neighbors. This seems to have broken both Grah::crosses_edge() and Graph::remove_vertex. and the move radius circle doesn't draw any more. Go team.
2011-06-27 18:10:24 -04:00
drawutils.h
Increase portability as per SDL standards, add a window title
2011-06-24 09:53:44 -04:00
gamecore.cpp
Let gamedata store information about whether we are attacking or moving
2011-06-24 12:02:53 -04:00
gamecore.h
Quit on Ctrl-Q
2011-06-24 09:48:59 -04:00
gamedata.cpp
Removed the concept of edges in favor of a proper tree-style approach, with each vertex knowing about its neighbors. This seems to have broken both Grah::crosses_edge() and Graph::remove_vertex. and the move radius circle doesn't draw any more. Go team.
2011-06-27 18:10:24 -04:00
gamedata.h
Most of the attack functionality now in place, but it's not all quite working yet
2011-06-24 14:59:18 -04:00
graph.cpp
Removed the concept of edges in favor of a proper tree-style approach, with each vertex knowing about its neighbors. This seems to have broken both Grah::crosses_edge() and Graph::remove_vertex. and the move radius circle doesn't draw any more. Go team.
2011-06-27 18:10:24 -04:00
graph.h
Removed the concept of edges in favor of a proper tree-style approach, with each vertex knowing about its neighbors. This seems to have broken both Grah::crosses_edge() and Graph::remove_vertex. and the move radius circle doesn't draw any more. Go team.
2011-06-27 18:10:24 -04:00
main.cpp
Fundamental framework for an SDL application
2011-06-22 16:12:22 -04:00
mainevent.cpp
Fundamental framework for an SDL application
2011-06-22 16:12:22 -04:00
mainevent.h
Increase portability as per SDL standards, add a window title
2011-06-24 09:53:44 -04:00
Makefile
Increase portability as per SDL standards, add a window title
2011-06-24 09:53:44 -04:00
mathutils.cpp
Added code to prevent edges from crossing
2011-06-23 13:54:28 -04:00
mathutils.h
Added code to prevent edges from crossing
2011-06-23 13:54:28 -04:00
sdlrenderer.cpp
Removed the concept of edges in favor of a proper tree-style approach, with each vertex knowing about its neighbors. This seems to have broken both Grah::crosses_edge() and Graph::remove_vertex. and the move radius circle doesn't draw any more. Go team.
2011-06-27 18:10:24 -04:00
sdlrenderer.h
Left some important files out of the repo
2011-06-24 21:55:43 -04:00
Description
A very simple game about graphs.
game
graph-theory
1.2
MiB
Languages
C++
99.1%
Makefile
0.9%