You are not logged in.

#1 2006-06-02 20:27:10

sinisterguy
Member
Registered: 2004-10-17
Posts: 42

simple console graphics library

Hello,

I'm currently taking a computer science course at my school and my current assignment requires me to use the BGI API to create a simple battleship game. Is there any similar API for linux like BGI. It doesn't have to be compatible, it just has to be simple so I don't have to add a whole lot of code. Thanks for the input.

Offline

#2 2006-06-03 07:18:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: simple console graphics library

the simplest and best from what i've seen, is SDL. and most languages have a binding of some sort for it too.

James

Offline

#3 2006-06-04 12:27:58

sinisterguy
Member
Registered: 2004-10-17
Posts: 42

Re: simple console graphics library

actually I was looking for something even simpler. I tried svgalib and g2 APIs and svgalib wouldn't compile (from AUR) and any program I made with the g2 API wouldn't link properly. Any more suggestions?

Offline

#4 2006-06-04 13:46:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: simple console graphics library

I didnt read console... oops. You're probably not going to find anything all too complete that is simpler than SDL, even more so for the console. Good luck all the same.

Offline

#5 2006-06-04 20:26:01

user
Member
Registered: 2006-03-29
Posts: 465

Re: simple console graphics library


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#6 2006-06-04 22:42:43

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: simple console graphics library

i guess you could do it with ncurses ;-p

Offline

#7 2006-06-05 09:44:23

soniX
Member
From: Oslo, Norway
Registered: 2004-01-23
Posts: 161

Re: simple console graphics library

this site claims openGUI api is comparable to BGI [URL]http://www.linuxsoftware.org/leaf.php3?catid=211[/URL]

Offline

#8 2006-06-07 15:49:11

alterkacker
Member
From: Peoples Republic of Boulder
Registered: 2005-01-08
Posts: 52

Re: simple console graphics library

Offline

#9 2006-06-13 21:06:41

sinisterguy
Member
Registered: 2004-10-17
Posts: 42

Re: simple console graphics library

i solved the problem by getting turbo c++ 1.01 running under dosemu. Now i don't have to modify any code at all. BGI works perfectly under it btw.

Offline

Board footer

Powered by FluxBB