Skip to content

corpusc/pacman-cx

 
 

Repository files navigation

PacMan CX - Version 0.0.3

pacman cx

PacMan CX is a simple 2D game powered by the CX programming language. This game is being developed with the following objectives:

  • Demonstrate the capabilities of CX
  • Obtain feedback on the language
  • Increase awareness for the Skycoin Project (developers of CX)

What is CX?

CX is a general purpose, interpreted and compiled programming language, with a very strict type system and a syntax similar to Golang's. CX provides a new programming paradigm based on the concept of affordances, where the user can ask the programming language at runtime what can be done with a CX object (functions, expressions, packages, etc.), and interactively or automatically choose one of the affordances to be applied.

You can find more info on:

Installation

PacMan CX requires the latest version of CX to run.

Install the dependencies and devDependencies and start the server. After installing CX and all its dependencies clone this repository by running:

$ git clone https://github.com/galah4d/pacman-cx.git

Wait for the cloning process to finish and navigate to the cloned directory...

$ cd pacman-cx/

The game should be ready to run.

Running the game

In order to run the game type the following command:

$ cx graphical2d.cx pac-man.cx

Use the arrows to move the player.

To Do...

The code is currently very disorganized due to the fact that this was my first experience with CX and I had to play around some bugs. I will make sure to clean things up as soon as possible.

  • Currently under development:
    • Add teleport blocks (causes a game freezing bug when a ghost steps in there).
    • Implement different ghost movement patterns. (Done)
    • Add the support for multiple levels.
    • Polish movement mechanics.

Contribute

If you want to show your appreciation for my work fell free to send a contribution in Skycoin to the address below and/or dm me some kind words on telegram.

  • Skycoin Address: vQxgd4Mq2eReLj3fhigSBGWmfNSMqQMoL3

Thank you Skycoin community!

Disclamer

I am not part of the team responsible for the development of the CX programming language neither do I claim some sort of affiliation with the Skycoin Project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published