This document describes a contest to develop a 2048 game in Smalltalk. It provides background on the 2048 puzzle game and introduces the contest for Smalltalk developers to participate in. The contest will judge entries based on animation, code quality, features, and high scores. Five finalists were selected including the winner, Ivo Vollrath, whose entry featured innovative enhancements like a heat map and diagonal moves. The goal is to introduce more developers to programming in Smalltalk through an engaging challenge.
1. 2048 Contest Challenge!
Beauty, Brains & Innovation
by Arden Thomas
Cincom Smalltalk Product Manager
!!!
2. Contents
âą 2048
âą Advocacy
âą Contest rules and entry grading
âą Categories of Solution Approaches
âą 5 finalists
3. 2048
âą Popular and recent single player puzzle game
âą How to play;
âȘ 4 x 4 grid
âȘ Slide the tiles right, left, up or down
âȘ When the same numbers touch, they
combine
âȘ After each move a 2 or 4 is added in
a random empty tile
âȘ Goal of producing a tile with 2048
âą Or maximum score
3
4. Attractive for non-Smalltalkers
Goal of introducing developers to Smalltalk
âą Examples provided
âą Fun way to expose developers to Smalltalk
6. Attractive for Smalltalkers!
A fun challenge for experienced Smalltalk developers
âą Developers get to
âȘ Show their skills
âȘ Share their knowledge
âȘ Show what Smalltalk can do
âą Excellent demoâs to non-Smalltalkers
8. Rules and Entry grading
Scores are based on:
âą Animation
âą Simple, clear code
âą Heuristic rules
âą Innovative features
âą Best score (avg of 10 runs)
9. Interface
âą Regions and Labels
âą Input fields, dividers
âą Action buttons
âą Custom view
9
11. Heuristics
âą Deep look ahead
âȘ Choose move that has the highest score (at depth n) following
random moves
11
12. Heuristics
âą Board valuation 1
âȘ larger corner values
âȘ empty cells
âȘ like adjacent numbers
âą Board valuation 2
âȘ Two move look ahead
âȘ minimized differences in
adjacent cells
âȘ merging high values
âą Board valuation 3
âȘ Two move look ahead
âȘ board score
âȘ increasing left to right, top
to bottom values
âȘ That a move is possible
12
23. Honorable Mention
Arkadiusz Baranowski
(Entry 4)
âą New to Smalltalk!
âą Moves reduced to two
operations
âȘ Shift left
âȘ Rotate board
âą Color scheme (with/without
numbers)
26. Second and Third place tie:
Norbert Fortelny
(Entry 3) Hi score âBeastâ
âą Best scores with adaptive
depth tree searches
âą Good tile animation
âą Clean simple interface
27. Second and Third place tie:
David Buck
(Entry 2) âBeautyâ
âą Raytracing used to render tiles
âą Concurrent tile animation, multiple
speeds
âą âfireworksâ animation on tile
combination
28. 1st place and Grand Overall 2048 Winner
âą Innovative heat map display with morphing heat map
âą Concurrent tile animation, multiple speeds
âą Animation on new tile
âą Highlighted number on combination
âą Best low depth heuristic
âą Diagonal moves option!
âą Additional grid sizes
âą Multiple color palettes
âą Good control layout and hover-help
29. 1st place and Grand Overall 2048 Winner
Ivo Vollrath (Entry 1)
âInnovation tour-de-forceâ
30. Contact Information
Star Team (Smalltalk Strategic Resources)
!!
â Suzanne Fortman (sfortman@cincom.com)
Cincom Smalltalk Program Director
â Arden Thomas (athomas@cincom.com)
Cincom Smalltalk Product Manager
â Jeremy Jordan (jjordan@cincom.com)
Cincom Smalltalk Marketing Manager !!!
http://www.! cincomsmalltalk.com