Git Product home page Git Product logo

playit's Introduction

N|Solid

Table of content

Next page ->



Playit Programming language

Desingned by:

  • Manuel Gonzalez 11-10390 (Frontend)
  • Francisco Javier 12-11163 (Frontend, Backend)
  • Natascha Gamboa 12-11250 (Frontend, Backend) Currently working on it.

Playit, it's a general purpose imperative language, not oriented to objects, compiled and strongly typed, inspired by the world of videogames, taking concepts and philosophies from them. It is designed and implemented by Computer Engineering students from the Simón Bolívar University throughout the subjects Programming Languages I & II (CI-4721, CI-4722).

Playit has:

  • Primitive data types (Integers, Characteres, Floating point numbers, Booleans).
  • Pointers to memory in Heap.
  • Arrays, Records, Variant records.
  • Read and write from standard IO.
  • ¡LOVE! 😚


Examples

Cube volume

play world %>CubeVolume<%:
  "' Calculates the volume of a cube '"
  Skill arista, vol
  
  arista equip joystick ~Introduzca arista: ~
  vol equip arista * arista * arista
  
  drop ~volume: ~, vol
.~

Even or odd

play world %>EvenOdd<%:
  "' Says if a number is even or odd '"
  Power n
  n equip joystick ~input a Power n: ~

  Button:
  | n % 2 == 0 }
    drop ~its even~
  | notPressed }
    drop ~its odd~
  .~
.~

Multiply tables

play world %>Tables<%:
  Rune other equip *s*
  Power i, n
  
  dungeon:
    n equip joystick ~input a Power n: ~
  
    drop ~Multiply table of ~, n, ~ es:~
  
    @ Start nesting
    i equip 1 
    dungeon:
      drop n, ~ * ~, i, ~ = ~, i * n
      i++
    cleared i <= 10
    .~
    @ End nesting
  
    other = joystick ~Do you eant to calculate another table? (y/n): ~
  cleared  other != *n*
  .~
.~

Lopps with arrays and lists

Kit of Runes age equip <<~12~, ~23~, ~15~, ~40~, ~15~>>
Runes|}5{| names equip |}~Natascha~, ~Francisco~, ~Manuel~, ~Ricardo~, ~Haskell~{| 

farming Power i equip 0 until 4:
  drop ~Hola ~, names|)i(|, ~ tienes ~, age|>i<|, ~ años!~
.~

Kit of Kit of Power list2 equip << <<10,5>>, <<3,6>>, <<4,2>> >>

farming Kit of Power kpd in list2:
  farming Power d in kpd:
    drop ~Dobles: ~, d
  .~
.~


Extras

La presente sección contiene algunas funcionalidades de Playit que tentativamente pueden ser desarrolladas con el lenguaje.

  • Intérprete.
  • Hilos. cheat
  • Caracteres UTF-8.
  • Excepciones. AoE
  • Iteradores. Quest

Dungeon: record of monsters and only one final boss -> para pasar al siguiente nivel del juego

enter dungeon -> cleared -> mission/raid completed -> world level up / rank up

mission = level/stage + quests raid respawn rank skill tree upgrade

playit's People

Contributors

naty-s avatar manuggz avatar fmarquez199 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.