francislangit / zuckbot Goto Github PK
View Code? Open in Web Editor NEWA virtual reincarnation of Mark Zuckerberg encapsulated in a desktop application built on Python.
License: MIT License
A virtual reincarnation of Mark Zuckerberg encapsulated in a desktop application built on Python.
License: MIT License
Here we'll construct the auditory aspect of Zuckbot. He should have available a total of 15 possible responses, split up in the following fashion:
The audio to be picked should reflect the categorical responses above. Also take note that Zuckbot is only answering yes or no questions here.
Once the audio files have be collected, build out a feature such that when the user enters a non-empty string from the text field one of Zuckbot's responses is randomly chosen and played.
The application will be allowing users to switch between two gamestates:
It'll be best practice for both of the gamestates to each be represented by a class. Switching between such gamestates will be handled by a zuckbot.py
file that will be built to be run by the user from the get go.
Here we'll construct the visual aspect of Zuckbot. He'll essentially such be represented by a picture of Mark Zuckerberg. There should be four main ways in which he can be displayed (dependent on his supposed "emotion"):
It'll suffice that a total of four images will be used, with one for each of the above. If there's more time to spare we can add more to the array of pictures to choose from (at least for the "Answering" images).
If the user enters a non-empty string from the text input, Zuckbot's image should change in accordance to his randomly chosen auditory response. Othewise, Zuckbot's neutral image should be displayed.
README.md
file.
GIF
's.In the main "Game" gamestate, user's should have the ability to input their yes or no question in a text field. Make one the does the following:
ENTER
key will make the text in the field disappear.It is worth nothing that we need not save the actual data that the user inputs given that what Zuckbot will say will be chosen at random.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.