Skip to content

alirezadaghigh99/SE-Lab1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

SE-Lab1

2048 game is a casual game which is implemented for mobile and desktop devices. In this repository, we implemented this game which can be played in command line interface. This code is implemented as a soloution for first experiment of CE40404(Software Engineering Lab), Fall 2021. (This experiment is mainly concerned with working with git commands)

Getting Started

  • Open terminal and insert following commands:
    git clone https://github.com/alirezadaghigh99/SE-Lab1.git
    
    cd 2048
    
  • Then for running the game, insert this command in terminal:
    python game.py
    
  • Follow game's instructions as provided!

Source Code

Source code is consisted of three parts. Functionality of each part will be explained in this section.

logic

This file contains logic parts of code. In this code we determine which action should be done after any input commands and do changes on game's map and advance to the next round.

game

this file contains user's details such as best score and name of user to be saved in a pickle file.

user

This module is used for handling defined operations, such as addition, multiplication, comparison, list operations, etc. Error handling is done in this module too.

Author

Contributors

This project is available thanks to all contributors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages