0
2048 Contest Challenge! 
Beauty, Brains & Innovation 
by Arden Thomas 
Cincom Smalltalk Product Manager 
!!!
Contents 
• 2048 
• Advocacy 
• Contest rules and entry grading 
• Categories of Solution Approaches 
• 5 finalists
2048 
• Popular and recent single player puzzle game 
• How to play; 
▪ 4 x 4 grid 
▪ Slide the tiles right, left, up or d...
Attractive for non-Smalltalkers 
Goal of introducing developers to Smalltalk 
• Examples provided 
• Fun way to expose dev...
5
Attractive for Smalltalkers! 
A fun challenge for experienced Smalltalk developers 
• Developers get to 
▪ Show their skil...
7
Rules and Entry grading 
Scores are based on: 
• Animation 
• Simple, clear code 
• Heuristic rules 
• Innovative features...
Interface 
• Regions and Labels 
• Input fields, dividers 
• Action buttons 
• Custom view 
9
Heuristics 
• Deep look ahead 
• Board valuation 
10
Heuristics 
• Deep look ahead 
▪ Choose move that has the highest score (at depth n) following 
random moves 
11
Heuristics 
• Board valuation 1 
▪ larger corner values 
▪ empty cells 
▪ like adjacent numbers 
• Board valuation 2 
▪ Tw...
Average score of ten runs … 
13 
Name Entry1 Entry 3 level 1 Entry 2 Arden 
Runs 26304 2048 27204 2048 7276 512 8584 512 
...
The finalists ….
The finalists ….
16
17
18
19
20
Honorable Mention
Honorable Mention 
Alexander Varghese Raj 
(Entry 5) 
• Unlimited undo 
• Nice layout and colors
Honorable Mention 
Arkadiusz Baranowski 
(Entry 4) 
• New to Smalltalk! 
• Moves reduced to two 
operations 
▪ Shift left ...
Winners!!!
Winners!!!
Second and Third place tie: 
Norbert Fortelny 
(Entry 3) Hi score “Beast” 
• Best scores with adaptive 
depth tree searche...
Second and Third place tie: 
David Buck 
(Entry 2) “Beauty” 
• Raytracing used to render tiles 
• Concurrent tile animatio...
1st place and Grand Overall 2048 Winner 
• Innovative heat map display with morphing heat map 
• Concurrent tile animation...
1st place and Grand Overall 2048 Winner 
Ivo Vollrath (Entry 1) 
“Innovation tour-de-force”
Contact Information 
Star Team (Smalltalk Strategic Resources) 
!! 
– Suzanne Fortman (sfortman@cincom.com) 
Cincom Smallt...
2048!
Upcoming SlideShare
Loading in...5
×

2048!

148

Published on

Title: 2048!
Speaker: Arden Thomas
Tue, August 19, 11:00am – 11:15am

Video:
https://www.youtube.com/watch?v=0-C5TpxUlC4

Description
Abstract: This presentation will discuss the game of 2048; how it is played, as well as design, implementation and playing strategies.

This project was created to serve as a fun introduction to Smalltalk for those new to Smalltalk, while presenting challenges to experienced Smalltalk developers. The idea to challenge developers resulted in the Cincom 2048 contest. The winners of the contest will be announced at ESUG.


Bio: Arden Thomas started using Smalltalk in 1986, when he was researching and exploring better ways to do software development. He found it! Smalltalk and object-oriented were such a profoundly improved approach to software development, that he made a full commitment to using Smalltalk. Arden used Smalltalk in his post-graduate work thesis and projects. Arden has worked with Smalltalk for IBM, Parcplace Systems, ParcPlace-Digitalk, ObjectShare, and a hedge fund in a number of capacities including; developer, trainer, architect, consultant, and sales SE. Arden is currently the Cincom Smalltlalk product manager managing Cincom’s ObjectStudio and VisualWorks products.

Arden has a blog titled "Less is More" which is an interesting principle, as well as a reference to an attractive design philosophy of Smalltalk.

When not working with Cincom Smalltalk, Arden can be found doing cycling, crossfit, coaching soccer, officiating at swim meets, or attending events involving his children.

Published in: Software
1 Comment
0 Likes
Statistics
Notes
  • Video:
    https://www.youtube.com/watch?v=0-C5TpxUlC4
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
148
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "2048!"

  1. 1. 2048 Contest Challenge! Beauty, Brains & Innovation by Arden Thomas Cincom Smalltalk Product Manager !!!
  2. 2. Contents • 2048 • Advocacy • Contest rules and entry grading • Categories of Solution Approaches • 5 finalists
  3. 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. 4. Attractive for non-Smalltalkers Goal of introducing developers to Smalltalk • Examples provided • Fun way to expose developers to Smalltalk
  5. 5. 5
  6. 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
  7. 7. 7
  8. 8. Rules and Entry grading Scores are based on: • Animation • Simple, clear code • Heuristic rules • Innovative features • Best score (avg of 10 runs)
  9. 9. Interface • Regions and Labels • Input fields, dividers • Action buttons • Custom view 9
  10. 10. Heuristics • Deep look ahead • Board valuation 10
  11. 11. Heuristics • Deep look ahead ▪ Choose move that has the highest score (at depth n) following random moves 11
  12. 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
  13. 13. Average score of ten runs … 13 Name Entry1 Entry 3 level 1 Entry 2 Arden Runs 26304 2048 27204 2048 7276 512 8584 512 19192 1024 35292 2048 6584 512 8520 512 6468 512 12016 1024 2284 256 12600 1024 6700 512 34596 2048 11160 1024 10184 512 16168 1024 35500 2048 10000 1024 14140 1024 15312 1024 35772 2048 2976 256 16844 1024 15940 1024 27072 2048 768 64 10140 512 15528 1024 5296 512 5972 512 4364 256 12536 1024 6856 512 2824 256 8448 512 37968 2048 36368 2048 6584 512 14636 1024 Average s 172116 1126.4 25597.2 1638.4 5642.8 492.8 10846 691.2 Level 3 32100 2048
  14. 14. The finalists ….
  15. 15. The finalists ….
  16. 16. 16
  17. 17. 17
  18. 18. 18
  19. 19. 19
  20. 20. 20
  21. 21. Honorable Mention
  22. 22. Honorable Mention Alexander Varghese Raj (Entry 5) • Unlimited undo • Nice layout and colors
  23. 23. Honorable Mention Arkadiusz Baranowski (Entry 4) • New to Smalltalk! • Moves reduced to two operations ▪ Shift left ▪ Rotate board • Color scheme (with/without numbers)
  24. 24. Winners!!!
  25. 25. Winners!!!
  26. 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. 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. 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. 29. 1st place and Grand Overall 2048 Winner Ivo Vollrath (Entry 1) “Innovation tour-de-force”
  30. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×