Skip to content

Jordan2204/guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Guessing Game

  • Written in C (the c++ version is in progress)
  • Minimum code needed for an Open Enclave app
  • Also runs in OE simulation mode

Prerequisites

About the Guessi Game

This is a game where the user must try to guess a number generated by the program. The particularity of this game is the use of a secured environment for the generation of the number to guess.

This sample uses the Open Enclave SDK oeedger8r tool to generate marshaling code necessary to call functions between the enclave and the host. For more information on using the Open Enclave oeedger8r tool refer to Getting started with the Open Enclave edger8r.

How To Run (we assume that you are in the guessing-game folder)

1- Using make

Execute the following commands in " "

  • Add ". /opt/openenclave/share/openenclave/openenclaverc" to your .bashrc file before compiling.
  • "make build"
  • "make simulate"

1- Using cmake

  • Add ". /opt/openenclave/share/openenclave/openenclaverc" to your .bashrc file before compiling.

Execute the following commands

  • "mkdir build" & "cd build"
  • "make"
  • "make simulate"

About

A Guessing Game Using Open Enclave

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors