SlideServe
Menu
Préférences
© SlideServe · v2026

Sudoku Game Design Language (SGDL)

bijan avatar
17 diapositives · 445 Views · Oct 24, 2014

Sudoku Game Design Language (SGDL). Sijue Tan Rongzheng Yan Yu Shao Yigang Zhang William Chan. Sudoku Game & Grid Games. Introduction. Overview Language for Sudoku fans and Programmer Generate Sudoku games Or any Grid games Motivation

Sudoku Game Design Language (SGDL) - slide 1
01 / 17Sudoku Game Design Language (SGDL)
1 / 17

Télécharger la présentation

Sudoku Game Design Language (SGDL)
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Sudoku Game Design Language(SGDL) Sijue Tan Rongzheng Yan Yu Shao Yigang Zhang William Chan

  2. Sudoku Game & Grid Games

  3. Introduction • Overview • Language for Sudoku fans and Programmer • Generate Sudoku games • Or any Grid games • Motivation • To present a language that can define rules of Grid game and generate the game. • To attract people into a logic-reasoning way of thinking • Features • What we can do • What we cannot do

  4. Introduction

  5. Architecture

  6. Tech we used

  7. Tech we used • Programming Language perspective • Stack and Grid 30 2048 81

  8. Sample • Generate random Sudoku whole solution • Cover some number of the grid

  9. Sample Program • Array num; /*global variable declaration*/ • main() /*Entry point of SGDL program*/ • begin • int i; int j;int k; int a; int col; int ran;/*Local declaration*/ • string s; • Array tempt1; • num ~ [|1,2,3,4,5,6,7,8,9|]; /*Assignment*/ • for (i~1;i<10;i++) • begin • Grid.Cell(1,i) ~ generateNum(1,i); /*Grid object*/ • end • printg(); • print(Grid.Cell(1,1)); • for(j~2;j<10;j++) /*Nested for loops*/ • begin • for (k~1;k<10;k++) • begin

  10. Sample Program • if(k=9) /*If condition statement*/ • begin • Grid.Cell(j,9) ~ Grid.Cell(j-1,1); • end • else • begin • Grid.Cell(j,k) ~ Grid.Cell(j-1,k+1); • end • end • end • tempt1 ~ Grid.Row(2); /*row exchange*/ • Grid.Row(2) ~ Grid.Row(4); • Grid.Row(4) ~tempt1; • printg(); /*print out the whole grid*/

  11. Developing Process--Tools

  12. Developing Process • Test • Different aspects • Operators +-*/ ~ • Functions • Data structures array grid • Sample program • Auto test • Makefile • Test.sh • Problems and Solutions

  13. Developing Process

  14. What we will do • User input • User interface • Other grid game • Cross word • Non-rectangle grid

  15. Lesson Learned • Team cooperation • share ideas • Team schedule • Or any Grid games • O’caml is different but it is fun to study! • Tools for software developing • Google Docs • Google Codes (SVN)

  16. Another Attempt • Java AST • Generate java code

  17. Thank You for Listening!