/PlayCode

App to run code by clicking picture or writing code

Primary LanguageKotlin


Introduction 👀

Teachers face the serious issue of checking codes from students' papers. They had to write it down manually and then check. When they had to do it in a massive ratio, mistakes can happen, they have to check the code again if they had done something wrong or if the student itself wrote the wrong code. That's a mess. That's where PlayCode comes to the rescue. Now Teachers can grab their smartphones and click a picture of code from paper. It'll recognize the code, then they'll select the code language, and hit the Run button. The desired output screen will pop up. Isn't it easy ?? Yes, it is. 😎

Feature 🐱‍🏍

  • Scan code from the camera and Run
  • Load code from the gallery and Run
  • Write code and Run

ScreenShots

Watch on youtube

Demo 🦾

Play_code.mp4

Tech Stack 👨🏽‍💻

Known Bugs 🐞

As you can see in the demo, Firebase ML kit cannot detect handwritten text properly 😣, I've created an issue on GitHub that could be found here. In this situation Google Cloud Vision works fine. But for that, I need a billing account that includes a credit card, and not me my friends or family have one. That's why I cannot continue this project 😓

How to Contribute?

  1. Fork this project
  2. Go to Android studio or download from here
  3. Click on -> File -> New -> Project from version control
  4. Paste to clone
git clone https://github.com/<Username>/PlayCode.git 
  1. Let android studio download the code
  2. If asked, click "sync Gradle"
  3. Create a virtual device following this link
  4. Click on Run tab and then Run the app

Whooh done 🦄