Giter VIP home page Giter VIP logo

shakespearescoffer's Introduction

Shakespeare-Scoffer

If you are going to insult someone at least use class, and a command line interface.

alt text

Inctroduction

This is a remake of an original project I made during my time at Year Up in 2012. I since lost the source code to the project (and many others). I had some free time from my job so I decided to remake it. The program randomly generates insults by picking from three different lists of Shakespearean insults and then uses Microsoft's SAPI for text-to-speech to speak the insults the the user. This is supposed to be a joke app. Have fun.

How to build

This project uses Microsoft's SAPI so it will only work for Windows, unless in the future I port it over to Linux. Shouldn't be too hard if I can find a similar Linux based TTS library.

To build the example program on Windows with Visual Studio open a Developer Command Prompt and enter this:

Change your directory to the source directory

cd C:/path/to/source

Compile and link the source code

cl /I ../extlibs/PDCurses/include ../extlibs/PDCurses/lib/pdcurses.lib Scoffer.cpp

The code should compile and produce Scoffer.exe.

If you are using MinGW open a Command Prompt and enter this:

Setup your path variable

path=C:/path/to/MinGW/bin

Change your directory to the source directory

cd C:/path/to/source

Compile and link the source code

mingw32-make

How to use

Press any key to generate a new insult. Press Space to repeat insult. Press Q or Escape to quit the program.

shakespearescoffer's People

Contributors

ricanteja avatar

Watchers

 avatar

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.