Search:

Type: Posts; User: zerocos

Search: Search took 0.13 seconds.

  1. Thread: Swing buttons

    by zerocos
    Replies
    3
    Views
    966

    Re: Swing buttons

    right now, they are in a forloop
  2. Thread: Swing buttons

    by zerocos
    Replies
    3
    Views
    966

    Swing buttons

    I have a problem
    I made a grid of buttons (6,6)
    but now i want to give some of the buttons a different color.
    i dont know how because i made the buttons with a for loop ofcourse
  3. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    the problem is that i don't know how to move the number in the array when the player calls it.
    the program asks the number and the direction but then it doesnt do anything else
  4. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    -ask the player which car he wants to move
    -ask the player in which direction
    -show the gameboard where the car is moved --> so let the number move and fill the open space with 10
  5. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i know but as i said, i have no idea how to write this. i started lessons only 1 month ago
  6. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i mean the space that becomes empty if a car is moved
  7. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    if this is my game board
    and each number represents a car
    88= the border of the board
    10= an open space

    What should i write to make the numbers(cars) move and fill the other space with '10'??
    ...
  8. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i'm almost finished now, but when i try to get an extern file (the level) i get this error:
    --Error: File Not Found--
    The data file could not be found. Check thefile name and try again.

    where...
  9. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i mean that after you change the values, the program should print the new array and you should be able to keep doing this. like you are moving the cars 1 block at a time and take a picture after...
  10. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i mean i dont know how to take out the GUI and i also don't know how i should start all over

    --- Update ---

    How can i change the values of an array and stock it in another?
  11. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i dont know how to start working on both so idk :/
  12. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    yes i think that is what i need.
    you are probably right but i just don't have enough time to start from the begining again
  13. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    ok so i got some help from someone.
    i know have this question: can i get rid of the visual part? because i don't need that just now
    i only need it in console atm




    class Car
    {
    private...
  14. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    hmm nee, ik zie geen manier
    maar als je dat te riskant vind hoef je dit niet te doen hoor, ik zoek nog wel verder
  15. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    neej sorry :s
    strikte familie, geen chats.
    ik heb wel mail maar dat is het dan ook..
  16. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    holland, or how do you say that in english >.<
  17. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    oh waw
    yea my deadline isn't tonight but i have no more time to work on it except for today so..
  18. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    No, i don't. Why?
  19. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    sorry i only have the image as an example
    yes thats it, that should be the output.
    It's just the fact that im totally stuck and i don't even know what i should be asking for.
  20. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    it should be looking like this, but of course it doesnt
    1723
  21. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    ok so i started with this
    first class is the board, second the cars
    as i said im very unskilled so i have no idea what to do now



    public class Spelbord
    {
    public static void...
  22. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    im new here, i don't even know how to post it :s
    i do have the .rar file
  23. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Re: Rush hour game

    i started a month ago but i trusted my partner to finish it, now it seems he hasnt been doing anything.
    so i have some serious problems now
    mostly im stuck with moving the cars
  24. Thread: Rush hour game

    by zerocos
    Replies
    46
    Views
    6,775

    Rush hour game

    Hey,

    I'm supposed to create the game rushhour with the program IntelliJ, but i'm totally stuck with it.
    I need it tonight so some fast help would be much appreciated.
    I'm very unskilled in...
Results 1 to 24 of 24