Skip to content

Stradex/TerminaX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerminaX

TerminaX is a ncurses game engine with the following features.

  • Responsive: You set up the game size, and it will adapt and resize depending the terminal size.
  • UI Elements: UI elements to easily render stuff.
    • UIText: to render text with different alignments.
    • UIRect: to render a rectangle.
    • UIPoint: to render a point.
    • UIBorder: to render a border.

How to use to make my own game.

//main.c

void game_frame(void) {
  //game logic goes here
}

int main (void) {
  //Create a game with 60 cols and 15 rows of size.
	my_game = create_game(60, 15, game_frame);
	game_start(my_game);
	return 0;
}

Credits

About

A simple responsive game engine for ncurses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages