Skip to content

dpengineering/giffer-reborn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

418 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

giffer-reborn

A completely rewritten version of the DPEA giffer tool by pcgrosen, original here.

About auto-grading

How it works

If the "Check the result" box is checked, giffer will automatically grade the student's code based on a sample hosted on the server. Note that this feature does not simply compare the code. Instead, the student's FrameManager (which is responsible for storing data about the states of pins in every frame) is compared to the correct version.

Making grading templates

To make a grading template, write some code and generate a gif. Make sure to have the correct exercise number filled in. Next, go to the "Dev Tools" tab and click "Export Exercise". Download the file and move it to "giffer-reborn/exercises/[exercise number]/Exercise_[exercise number].FrameManager" (you will probably have to create the exercise number directory). You should be good to go. Create some new code and run it with the "Check the result" box ticked and the correct exercise number filled in.

To test an exercise, cd to this directory and run python -m SimpleHTTPServer

About

A completely rewritten version of the DPEA giffer tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 97.8%
  • JavaScript 1.8%
  • Other 0.4%