Senet A Programming Language for Playing Board Games The Team - - PowerPoint PPT Presentation

senet
SMART_READER_LITE
LIVE PREVIEW

Senet A Programming Language for Playing Board Games The Team - - PowerPoint PPT Presentation

Senet A Programming Language for Playing Board Games The Team Richard Muoz Lilia Nikolova Srihari Sridhar Dhruvkumar Maxim Sigalov Motwani The Goal Expression of setup and flow of general, two-dimensional board games Intuitive


slide-1
SLIDE 1

Senet

A Programming Language for Playing Board Games

slide-2
SLIDE 2

The Team

Richard Muñoz Lilia Nikolova Srihari Sridhar Dhruvkumar Motwani Maxim Sigalov

slide-3
SLIDE 3

The Goal

  • Expression of setup and flow of general, two-dimensional

board games

  • Intuitive and simple
  • Interactive gameplay
  • Static, strong typing
  • Mix of C and Python
slide-4
SLIDE 4

Language Features

  • Basic object-oriented programming
  • Assert functions
  • Boards library
  • Static typing
  • Passing between @turns functions
slide-5
SLIDE 5

Compiler Architecture

slide-6
SLIDE 6

Senet Program Structure

  • program -> setup-block turns-block EOF

○ Two program sections: ■ setup-block -> @setup {declaration-list statement-list} ■ turns-block -> @turns {function-list} ■ declaration-list -> /* nothing */ | declaration-list declaration

slide-7
SLIDE 7

Demo

slide-8
SLIDE 8

Future Work

  • Integrate with written C code that implements virtual tables,

generic lists, garbage collection, and makes every variable an

  • bject.
  • Develop a larger standard library of boards and pieces.
  • Implement exceptions.
  • Allow developers to create their own libraries.