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
47
Commits
1
Branch
0
Tags
2bddf92001fd52afe61cc4ea3fbfb48a566984f2
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
2bddf92001
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -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
game.cpp
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -04:00
game.h
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -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
gamestate.cpp
Refactored code heavily to be able to use a state stack - main function now does the basic init, looping, and shutdown, and each state is a pointer to an object that has its own event handling, rendering, etc
2011-06-27 22:07:52 -04:00
gamestate.h
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -04:00
graph.cpp
Fixed crash on vertex_remove
2011-06-27 20:37:46 -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
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -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
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -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
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -04:00
sdlrenderer.h
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
2011-06-27 22:35:52 -04:00
Description
A very simple game about graphs.
game
graph-theory
1.2
MiB
Languages
C++
99.1%
Makefile
0.9%