Monday, May 9, 2016

Chatbots

We have been looking at different chatbots with the intention of creating our own. Chatbots are a very simple version of an AI that can respond to what you write. Chatbots work by "reading" what you write and then choosing a predetermined answer based on certain keywords in your responses. If there are no keywords in your response, the chatbot will pick a response from a random list. We have been looking at already written code to see how chatbots pick their responses and how they "read" what the user enters. We hope to use the information that we are learning to create our own simple chatbot. When we finish, it will hopefully be able to respond to several different keywords and make responses that actually make sense. The picture below is a conversation with an online chatbot.

Sunday, May 1, 2016

Basic Windows Application Programming: Part I

  With our first program virtually at its completion, we can now set our sight on integration into an actual Windows application, not just a command prompt program. This crucial next step of development requires extensive knowledge of coding far beyond what we know at the moment, so, currently, we've recruited the trusted Dev C++ programming application to do this for us. It does so by pasting the necessary code for an actual application, also known as a Guided User Interface, or GUI for short, into our existing code. This makes sure we don't have to worry about the visuals of the application, as much as the function of it. Below is a screenshot of the code which Dev C++ injects into the program. This method of coding allows more customization of the aesthetics, and form of the program, whereas regular command prompt programming is very bland and one-sided.


Physics Program Finished... For Now

 Over the past few weeks, we've been hard at work on our first bona fide physics program, and now it's complete (at least for now). At the moment, it only contains 12 of the most rudimentary physics equations used, but we plan on adding much more down the road. It will hopefully contain other helpful tools besides equation solving, such as projectile motion graphing, electric field mapping, and wave models. This is just the first step on our journey to bigger, more demanding programs which we hope to create later as part of our project. Below is a link to Dropbox, where you can download the program itself, which can be run on any Windows PC. There is also a link for the code. Don't be fooled by the monstrous amount of code; everything this program does has been programmed using no more than 5 or 6 commands.



Here's a screenshot of the program in action: