BG1, PRELOAD BG2, PRELOAD

Results 1 to 16 of 16
  1. #1

    Default How to Make a Connect Four Machine in LittleBigPlanet

    Hi all,

    I made a brief overview of how I made my latest creation (Sweet Connect Four Machine!):

    [Watch YouTube Video]


    It's a 2-player game of Connect 4, as the name would suggest, where the game itself controls the flow of play (so it's not possible to cheat). The players take a colour each and take it in turns to drop discs of their colour onto the 7x6 grid, in an effort to be the first to get four in a row in any direction. In addition to controlling whose turn it is, the game is able to identify the winner, and the players are able to reset the board and play as many times as they wish (but they are unable to abuse the reset function if, say, they're losing).


    The level uses 100% of the thermometer (seriously, placing one more LED light causes it to overheat) and around 1000 wires.

    Hope you like.

    - jiggles

  2. Thanks!


  3. #2
    License to krill. Whalio Cappuccino's Avatar
    Points: 30,124, Level: 53
    Level completed: 34%, Points required for next Level: 726
    Overall activity: 0%
    7 days registered 10000 Experience Points 5000 Experience Points 1000 Experience Points 500 Experience Points
    PSN
    Whaale
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    5,250

    Default

    Honestly, why aren't you working for NASA or something big like that yet?

  4. #3

    Default

    Quote Originally Posted by Whaaaaale View Post
    why aren't you working for NASA
    I once punched an astronaut.

    In my defence, he had it coming.

  5. #4
    License to krill. Whalio Cappuccino's Avatar
    Points: 30,124, Level: 53
    Level completed: 34%, Points required for next Level: 726
    Overall activity: 0%
    7 days registered 10000 Experience Points 5000 Experience Points 1000 Experience Points 500 Experience Points
    PSN
    Whaale
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    5,250

    Default

    Quote Originally Posted by jiggles View Post
    I once punched an astronaut.

    In my defence, he had it coming.
    Wow, what did he do to you?

  6. #5

    Default

    Quote Originally Posted by Whaaaaale View Post
    Wow, what did you do to him?
    I'm only kidding.

    NASA don't employ the Irish. Something about giving someone that much responsibility when they're off their face on Guinness doesn't sit well with their company policy.


  7. #6
    Sackinima :) moleynator's Avatar
    Points: 36,915, Level: 59
    Level completed: 23%, Points required for next Level: 935
    Overall activity: 14.0%
    7 days registered 5000 Experience Points 1000 Experience Points 500 Experience Points 250 Experience Points
    PSN
    moleynator
    Join Date
    Sep 2008
    Location
    Essex
    Posts
    2,686
    Blog Entries
    1

    Default

    Oh whaaaaale and jiggles...

    *Rolls eyes*

    I'll check this out.

  8. #7
    Junior Sackperson Trap_T's Avatar
    Points: 10,441, Level: 30
    Level completed: 82%, Points required for next Level: 109
    Overall activity: 0%
    7 days registered 5000 Experience Points 1000 Experience Points 500 Experience Points 250 Experience Points
    PSN
    Trap_T
    Join Date
    Dec 2008
    Location
    Toronto, Canada
    Posts
    439

    Default

    After watching the video
    Looks awesome! Good job!


    before watching the video
    I've programmed connect 4 and it requires a lot of AND commands.... I'm pretty sure I know how you did this or atleast how I would do it.

    A bunch of AND switches (one for each winning combo, believe there's... 73? just a quick guess, something around there), one for each winning combo (4 in a row) and depending if the piece is in a certain spot it would move a piston and all of the combos' ANDs that it's involved in.

    So in total 146 AND switches (one for each color) X_X right?

    [spoiler]I wanna make one now![/spoiler]

    In the works: Advantage Taken, Stationary.
    Published: Mech Legs, and SPS: Sack Positioning System.


    There be magic is this here link.

  9. #8

    Default

    Quote Originally Posted by Trap_T View Post
    before watching the video
    I've programmed connect 4 and it requires a lot of AND commands.... I'm pretty sure I know how you did this or atleast how I would do it.

    A bunch of AND switches (one for each winning combo, believe there's... 73? just a quick guess, something around there), one for each winning combo (4 in a row) and depending if the piece is in a certain spot it would move a piston and all of the combos' ANDs that it's involved in.

    So in total 146 AND switches (one for each color) X_X right?
    Not a bad guess. There's 69 possible wins for each colour, so 138 unique wins total, each requiring 4 pistons, 4 blocks of glass and 4 wires going in. 552 wires, 552 pistons and 552 blocks of glass just to see if someone's won.

  10. #9
    Junior Sackperson Trap_T's Avatar
    Points: 10,441, Level: 30
    Level completed: 82%, Points required for next Level: 109
    Overall activity: 0%
    7 days registered 5000 Experience Points 1000 Experience Points 500 Experience Points 250 Experience Points
    PSN
    Trap_T
    Join Date
    Dec 2008
    Location
    Toronto, Canada
    Posts
    439

    Default

    Quote Originally Posted by jiggles View Post
    Not a bad guess. There's 69 possible wins for each colour, so 138 unique wins total, each requiring 4 pistons, 4 blocks of glass and 4 wires going in. 552 wires, 552 pistons and 552 blocks of glass just to see if someone's won.
    Just seems like a really long and tedious wiring job than anything else lol.
    After you make the first AND switch, just duplicate it...

    The wiring must of been a pain though ;p

    In the works: Advantage Taken, Stationary.
    Published: Mech Legs, and SPS: Sack Positioning System.


    There be magic is this here link.

  11. #10

    Default

    Quote Originally Posted by Trap_T View Post
    Just seems like a really long and tedious wiring job than anything else lol.
    After you make the first AND switch, just duplicate it...

    The wiring must of been a pain though ;p
    Spot on.

    The wiring was tedious at the beginning, but I got pretty quick at it, as there was a simple system to stick to. At about 2/3 of the way through, though, it got worse and worse. It's pretty hard trying to wire something up when the wires are invisible! I couldn't see the wire tag coming out of the switches on the board, and I couldn't see the wire I was currently holding!

  12. #11

    Default

    my friend made a connect 4 machine, waaaaaaay more simple, works fine.
    PSN: dan_westy.
    Uploaded levels: Battle Arena 1 & 2, Heaven and Hell, Summer Races, Desert Rhino Tank Mission, Havok 1 Tank, SG-1 Apache Helicopter, Mini Helicopter Expert Challenge, Shoot Yours Points (Survival Challenge), Object Showcase, Bomb Attack (Survival Challenge) and Elite Challenge ( Hard ).

  13. #12

    Default

    D= Im confuzzled.



    Looks really cool, will give this a try

  14. #13

    Default

    Ah! thats what the "braaaaains" tag if for! Seriously though well done and thanks for sharing. It was like a little materclass in switch setup. C'mon Ireland!

  15. #14
    Sackperson Private

    PSN
    NinjaMicWZ
    Join Date
    Dec 2008
    Location
    Salisbury, MA
    Posts
    2,466
    Blog Entries
    5

    Default

    First of all, I'm glad you're Irish, second of all, these are the kinds of creations that are truly and absolutely jaw dropping. Even if I could have planned something like this I would have just thought about all the work it would take and given up right away.

    It's ridiculous how it would probably take an hour to make a connect 4 board in real life, but takes hundreds of hours to make one in digital form. I thought technology was supposed to make things easier?

  16. #15
    Junior Sackperson Trap_T's Avatar
    Points: 10,441, Level: 30
    Level completed: 82%, Points required for next Level: 109
    Overall activity: 0%
    7 days registered 5000 Experience Points 1000 Experience Points 500 Experience Points 250 Experience Points
    PSN
    Trap_T
    Join Date
    Dec 2008
    Location
    Toronto, Canada
    Posts
    439

    Default

    Quote Originally Posted by NinjaMicWZ View Post
    First of all, I'm glad you're Irish, second of all, these are the kinds of creations that are truly and absolutely jaw dropping. Even if I could have planned something like this I would have just thought about all the work it would take and given up right away.

    It's ridiculous how it would probably take an hour to make a connect 4 board in real life, but takes hundreds of hours to make one in digital form. I thought technology was supposed to make things easier?
    Haha, No lie, I could make a digital connect four 100x times better and faster than I would if I tried to make one out of wood or plastic lol

    In the works: Advantage Taken, Stationary.
    Published: Mech Legs, and SPS: Sack Positioning System.


    There be magic is this here link.

  17. #16

    Default

    Wow. Thanks for all the kind words and positive feedback, guys. I'm glad you all liked it. I think I'll be doing more of these videos for anything complicated I make in future.

    Next stop, Buckaroo.

    Oh yes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •