HELP, Developing a pacman

Discussion of Common Lisp

HELP, Developing a pacman

Postby TechnoWarrior » Sat Nov 05, 2011 11:41 am

Hi friends, hoping you all are fine and enjoying the life.

I had done a good amount of programming in java and C# but new to LISP,i am using Alegro Common LISP 8.2 for development, now my task is to develop a game "Pacman" using LISP, i had a choice to make its interface GUI based or simple console based, i am very confused about where to start, how to use above mentioned tool for developing a graphical or console application, i will be very thankful if anyone can guide me or give any good suggestion or recommend any web link so i can understand how to de, Thanx in advance.
TechnoWarrior
 
Posts: 2
Joined: Sat Nov 05, 2011 11:25 am

Re: HELP, Developing a pacman

Postby gugamilare » Sat Nov 05, 2011 1:13 pm

If you opt for creating a GUI game, you can use Lispbuilder. There is a nice manual about how to use it. I think you can find images easily on the web.

You can either make a console-based game to concentrate yourself on the logic of the game first and then transform it into a graphic one, or you can create a program that prints the map first and only then worry about the logic of the game itself.

It should be much easier to create a console-based game, though.

In any case, consider creating a text file with the pattern for the map, like this:

Code: Select all
*******
*.....*
*.* *.*
*.*G*.*
*.***.*
*..P..*
*******


Where '*' is a wall, '.' is a biscuit, ' ' is a black space, 'P' is the spawning site of the Pacman and 'G' is the spawning site of the ghosts.
gugamilare
 
Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil

Re: HELP, Developing a pacman

Postby gugamilare » Sat Nov 05, 2011 1:14 pm

I could help you later if you want the ghosts to chase the Pacman as well.
gugamilare
 
Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil

Re: HELP, Developing a pacman

Postby TechnoWarrior » Sun Nov 06, 2011 11:02 am

Thanx "gugamilare", i started working on console environment, concentrating more on logic, I will definitely request you to help me later, if i got stuck somewhere, thanx....
TechnoWarrior
 
Posts: 2
Joined: Sat Nov 05, 2011 11:25 am


Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 4 guests

cron