3 projects tagged "BSD"
TSDL was written for the turn-based strategy game "Turious", but is a stand alone library. It provides a number of useful widgets and event handling functions. Its widgets include container, label, button, text, numbox, checkbox, and console. All of the widgets can be given individual background images and custom text. Containers and widgets can be shown and hidden individually, and will retain their visibility state. The library uses OpenGL for rendering, allowing it to be used in 3D games as well as 2D.
ca-ga is a toy artificial life simulation that uses genetic algorithms on large cellular automata. It uses simple but easily extended DNA that is 8k long by default, though you can take the size out to anything you have time to evolve. It sits under each cell of a 128x128 board and orders operations to transfer energy in the hopes of achieving a kill and breed. The simulation features a mutating fitness function, emergent sex, and a proof of concept real world fitness function. After enough generations, the cells or genes could achieve collectivism and organismhood, coordinating the values of the hotspots that determine board temperature in order to maintain a desired equilibrium. But maybe not. If you work in a fitness function, an optimizing problem solver results.