Jump to content

game programming

- - - - -

  • Please log in to reply
9 replies to this topic

#1
frank101

frank101

    Newbie

  • Members
  • Pip
  • 8 posts
hello everybody
for tow weeks i've been looking for an algorithm of the game bejeweled but i've found nothing yet :(
would you help me please
thank you

#2
artificial

artificial

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 624 posts
Do you plan to program a bejeweled game? If so, you should be able to code the algorithm yourself. It shouldn't be difficult. Try it yourself and if you have problems, we can give you some hints. :)

Greets,
artificial
Sometimes words ain't enough to express something. That's why computer scientists use double words.

#3
frank101

frank101

    Newbie

  • Members
  • Pip
  • 8 posts
thank you artificial for the encouragement. maybe this is just what i needed to get started :blushing:

#4
manux

manux

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 234 posts
Start by writing out pseudo-code, just the ideas of the algorithm. If you don't see how to code those ideas in C, post your pseudo-code and we will give you tips.

Also do you need help with the graphical part? (the actual 2D drawing and usage of a library)

#5
frank101

frank101

    Newbie

  • Members
  • Pip
  • 8 posts
thank you manux
well about the graphical part, i'm supposed to make a text user interface, so i'm trying to learn how to use ncurses

#6
artificial

artificial

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 624 posts
Alternatively, you could use Allegro or SDL. Both are pretty easy.

Greets,
artificial
Sometimes words ain't enough to express something. That's why computer scientists use double words.

#7
Groogy

Groogy

    Programmer

  • Members
  • PipPipPipPip
  • 183 posts
If he's doing it in C++ and want it object oriented I recommend SFML actually.
My Code Blog - My Github - Ascension Project - Madness Script Project - Simple-Garbage-Collector Project
There is bound to be something useful somewhere.

#8
manux

manux

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 234 posts

Groogy said:

If he's doing it in C++ and want it object oriented I recommend SFML actually.
Hey, I was about to say that :P

But if you're new to programming, better to work on the core of the game and make graphics and game 2 different things.
I.e. work on the actual game using a very rough and basic UI (may it be text, curses or GUI), then when the game works, work on your UI.

#9
frank101

frank101

    Newbie

  • Members
  • Pip
  • 8 posts
thank you all.
and about the programming language i'm using C and as i mentioned i can use only text mode

#10
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Gweled - Free Software Directory - Free Software Foundation
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users