Code Monkey home page Code Monkey logo

Michael Papapetros's Projects

combinations-binomial-coefficient icon combinations-binomial-coefficient

Program that computes the binomial coefficient of two user-given numbers (n and k) using MIPS Assembly. The program can be run using QTSpim.

digital-clock icon digital-clock

A digital clock using Python's standard GUI: TkInter, just in case you want to burden your screen's useful space with a fancy-looking clock.

hangman-game icon hangman-game

A simple implementation of the well-known Hangman game, using a wordlist containing 370103 English words (wordlist.txt), from which the computer picks one at random each time. The game can be played by more than one player each time and keeps going until a final winner is declared.

pong icon pong

A remake attempt of the well-known arcade game.

rat-in-a-maze icon rat-in-a-maze

An implementation of a slightly altered version of the "Rat In A Maze" problem

rock-paper-scissors icon rock-paper-scissors

An implementation of the famous Rock Paper Scissors game! The player plays against the computer, whose choice is always random. The GUI was programmed with Tkinter and for the sound effects Pygame was used.

threaded-pizza icon threaded-pizza

This program utilizes the POSIX standard (mainly threads), in order to simulate a take-away pizza place, where a specified number of customers arrive one after the other and give their order to the restaurant cooks. The number of ovens and cooks is predetermined. The reason why the use of threads is essential, is because, in case all cooks are unavailable, the new customers have to wait for the previous orders to be completed, in order to give theirs. The same applies for the ovens, because, even if a pizza has already been made, the cook must wait for an oven to be freed to bake it. In addition, if two customers (a.k.a. threads) try to access the same variable at the same time (e.g. increase cook availability by one when they receive their order and leave), the output becomes invalid. For that reason, we use a certain type of lock, which guarantees that a specific customer is the only one accessing a variable at a given moment.

threaded-pizza-2 icon threaded-pizza-2

This is the second part of the "Threaded Pizza" project. What has changed is the "behaviour" of the cooks due to the fact that our pizza place finally has delivery drivers! This means that certain parts of the code have been altered in order to adapt to the new environment. Now, ready pizzas wait for an available delivery driver to go pick them up, so new calculations with respect to delivery times have been added.

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.