DevLog #6
I removed the white border from the taskbar to make it more similar to the Windows XP layout. I also adjusted the clock to only show HH:mm to make it simpler and cleaner. I also added a chatbot, you can access it from the button in the right corner of the screen (the one with a speech bubble with a happy face 😄).
How does the chatbot work?
I made it very simple:
- The user types a message.
- The script checks whether a match exists in a JavaScript dictionary.
"hi": "Hello!",
"hello": "Hi, how are you?",
"hello": "Hey!"
If it finds a match, it returns the answer. If not, he responds with “I don’t understand.”
There is also the Start button, its function is the same as the Win key on the keyboard:
- List applications
- Search for things
- Settings options
It’s still just aesthetic, it has no real functionality, but I’m working on it. Firstly, I want to implement so that the user can change the wallpaper and customize the color of the taskbar.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.