Jump to content

quick and easy programming code any takers?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
logic

logic

    Newbie

  • Members
  • Pip
  • 3 posts
i have a pretty simply project for someone to take on if they are interested it should take about 2 hours i have been told if you are an experienced C programmer. I need a C programmer not C++ worth fifty bucks? pm me for details. oh and i need it done asap

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It depends ENTIRELY on the details as to whether any of us would be interested. Also, why do you care what language it's coded in? It would probably be much easier to code in C++, or maybe Java or Lazarus.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
logic

logic

    Newbie

  • Members
  • Pip
  • 3 posts
because i need it done in c for a class, i am uping the price to 100$
and it needs to be done in the most basic of c programming please

the project is
Fix the movement :

  • The guy should not be able to move through the red blocks ("walls"), or through the white shapes ("diamonds"). It should be able to move freely over the blue blocks with vaguely circlish white markings ("targets"). Diamonds can move similarly if they are pushed (see below) by the guy.
  • If the guy is next to a diamond (horizontally or vertically) and moves onto the diamond square, the diamond should be "pushed" into the next square over if it is open (blank or a target). If the square that the diamond would be pushed onto is a wall or occupied by a diamond, neither the guy nor the diamond should move.
Test for a win: if all the targets have diamonds over them, the player has solved the puzzle and won the game. Check for this after each move and when the player wins, indicate the win somehow (at the simplest level, just display a "You Won!" message, but I'd encourage you to try to do something more complex).
There are a number of levels (that is, different puzzle maps) included here. You might find it helpful to pick a very easy level to solve for your testing, or even figure out how to build your own level that is simpler and allows for easy testing.


pm and ill tell you more and give you the source code...

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Given that it sounds like you are using GUI libraries, or an OS API, this is immediately becoming non-trivial C. That, or you're using conio.h, which is non-portable.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
logic

logic

    Newbie

  • Members
  • Pip
  • 3 posts
say what?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
C doesn't have colors. You must, therefor, be using a library that provides for color. If I code it (on Linux) it will probably NOT be what you expected when it fails to compile on Windows.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
atheium

atheium

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 298 posts
well at the very least he's offering to pay for someone to do his homework for him. still. this is silly.

and o.O the panther is a penguin?!

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I am forced to use Windows at work. I use Ubuntu for personal, and almost never touch Windows at home.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog