Reply to this topic  Start new topic
> Blackout
CSM
post May 10 2008, 08:55 AM
Post #1






Posts: 2,386
Joined: 1-September 06
From: ̶O̶h̶i̶o̶ Washington
Member No.: 16,587



The school year is almost finished out for me, and finals week approaches. So before I start studying non-stop, I thought I'd put out a little "update". My CS-330 class' professor always asked us if we could do or finish something "given sufficient time and motivation". Well I found some time, no idea where the motivation came from, and I managed to reasonably clone a game we used as the basis for one of our projects*. It's just my nature to decide the Flash wasn't enough and recreate it with object-oriented JavaScript and Canvas. The Widget is intended to be influenced by the original in size, shape, and looks, but not be exactly the same.

* The project was to build a "blackout"-game solver, and he pointed us to a rather nice Flash game for reference. The solver was supposed to find the optimal moves to winning any possible board state.

Rules
  • Click a tile to flip itself and tiles one to the left, right, top and bottom.
  • To win, get all tiles to show the same color.
Tips:
  • All 3x3 Blackout puzzles can be solved in 9 moves or less.
  • Flipping a specific tile more than once, no matter how many you flipped in between, effectively "undoes" the move.
Reference game:
A Beautiful Mind :: Blackout

My Widget:
Download Blackout.widget

IPB Image

Missing features:
  • Tile flipping is not animated.
    • I have sufficient motivation, sure, but not ample time.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
bjbk
post May 10 2008, 01:57 PM
Post #2






Posts: 510
Joined: 6-August 05
Member No.: 8,181



Nice work mate! Its a classic little game, it runs very smooth, works as advertised!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CSM
post May 10 2008, 10:04 PM
Post #3






Posts: 2,386
Joined: 1-September 06
From: ̶O̶h̶i̶o̶ Washington
Member No.: 16,587



QUOTE(bjbk @ May 10 2008, 08:57 AM) *
Nice work mate! Its a classic little game, it runs very smooth, works as advertised!
Thanks.

I updated the Widget. Nothing major, just an instructions menu for those that don't know the game and increased the version number to something real. Same link above.




A result of starting my server over, links from my posts may not work (especially those in the "temp" subdomain). If there is a link to something of which anyone would like to have a copy, personal message me with what you're looking for along with a way to provide this to you, and I'll see if I can find a copy. Thanks for your patience and understanding.


IPB Image - "Not just another open source project. Lend your talent and make a difference!" (Dead)

IPB Image - "The future is now." (No longer community site) (Domain has lapsed)

Published: AtomicComicBlast, Barra de Lenguas, ComicWizard-4.0, MicroColors, PassGen, ScrabbleChecker, SoundBank, Uni, VisualWidget, WarpedReality
Unavailable: Paradigm [clock], Puzzled, SecurityLogger, Wayback Widget
Ready to be published: Cαlcυlατοr, CursorTails, Blackout, Block Puzzler, BombSquad, Palette, SnipIt
ActiveDev:
InactiveDev/Dead: BeatMod, Bubble Pop, Canvas Clock, Canvas Gauges, Canvas Pro, Clipboard, Crayon, Hermes, InTune, Konverter, Magic Deck, OverRuled, Outside, Slither, SystemBeat, Tetresque, Tetrad, Widget, WinSysRemote
Dropped: BlankScreen, Document "Fixer", Intuitive [ -> Blackout], Motion Widget: HHGTTG
CoDevelopment: Atmosphere, Block Puzzler,
BombSquad
Miniature Scripts: BinarySearchTree, Calendar, Canvas Gears, Checkbox, File-Browser, LinkedList/Stack, MDI Setup, MiniMax AI, PieGraph, ProgressBar, Slider widget, TabbedPane, Table, Tokenizer, TreeMenu
Java+: Java Music Daemon, ScreenCapture JAR, Widget-Java/Server Bridge Example
"Published" Texts: DynamicWidgetGuide
Konfabulator Libraries: Color-space Library, Javable Widget Project
Widget Tutorials: "Spawning" Widgets, JavaScript Classes
Contests: Widget 4k - "Expanded" [not happening; canceled]
Non-Widget Work: Hazlenut, Konspirators Online, PHP BB-Code Parser, ShortClient, Zap
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cicerone Pavaloi
post May 12 2008, 02:41 PM
Post #4






Posts: 562
Joined: 7-March 07
From: Iasi, Romania
Member No.: 20,296



Nice. I do belive it would look nicer if you were using images for the board. tongue.gif




User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CSM
post May 12 2008, 03:55 PM
Post #5






Posts: 2,386
Joined: 1-September 06
From: ̶O̶h̶i̶o̶ Washington
Member No.: 16,587



QUOTE(Cicerone Pavaloi @ May 12 2008, 09:41 AM) *
Nice. I do believe it would look nicer if you were using images for the board. tongue.gif
If I wanted a textured board, yes. Other than that, I hope you're joking! tongue.gif




A result of starting my server over, links from my posts may not work (especially those in the "temp" subdomain). If there is a link to something of which anyone would like to have a copy, personal message me with what you're looking for along with a way to provide this to you, and I'll see if I can find a copy. Thanks for your patience and understanding.


IPB Image - "Not just another open source project. Lend your talent and make a difference!" (Dead)

IPB Image - "The future is now." (No longer community site) (Domain has lapsed)

Published: AtomicComicBlast, Barra de Lenguas, ComicWizard-4.0, MicroColors, PassGen, ScrabbleChecker, SoundBank, Uni, VisualWidget, WarpedReality
Unavailable: Paradigm [clock], Puzzled, SecurityLogger, Wayback Widget
Ready to be published: Cαlcυlατοr, CursorTails, Blackout, Block Puzzler, BombSquad, Palette, SnipIt
ActiveDev:
InactiveDev/Dead: BeatMod, Bubble Pop, Canvas Clock, Canvas Gauges, Canvas Pro, Clipboard, Crayon, Hermes, InTune, Konverter, Magic Deck, OverRuled, Outside, Slither, SystemBeat, Tetresque, Tetrad, Widget, WinSysRemote
Dropped: BlankScreen, Document "Fixer", Intuitive [ -> Blackout], Motion Widget: HHGTTG
CoDevelopment: Atmosphere, Block Puzzler,
BombSquad
Miniature Scripts: BinarySearchTree, Calendar, Canvas Gears, Checkbox, File-Browser, LinkedList/Stack, MDI Setup, MiniMax AI, PieGraph, ProgressBar, Slider widget, TabbedPane, Table, Tokenizer, TreeMenu
Java+: Java Music Daemon, ScreenCapture JAR, Widget-Java/Server Bridge Example
"Published" Texts: DynamicWidgetGuide
Konfabulator Libraries: Color-space Library, Javable Widget Project
Widget Tutorials: "Spawning" Widgets, JavaScript Classes
Contests: Widget 4k - "Expanded" [not happening; canceled]
Non-Widget Work: Hazlenut, Konspirators Online, PHP BB-Code Parser, ShortClient, Zap
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Fast Reply  Reply to this topic    Start new topic  
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: