O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Retro gaming machine made with Javascript and Kubernetes

How to build a Kuberentes controller in Javascript to run PC retro games in a browser.

  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Retro gaming machine made with Javascript and Kubernetes

  1. 1. Building a retro-games machine with Javascript and Kubernetes
  2. 2. HISTORY
  3. 3. ● Award-winning Canadian engineer and computer pioneer and Chair of Science Council of Canada ● Named of Order of Canada in 2011 ● Created the world’s first computerized traffic control system ● In 2014, at the age of 93, proposed an improvement for Toronto Transit Commission subway system ● Invented the first digital game playing machine: Bertie the Brain Joseph Kates Joseph Kates (1921 / 2018) https://en.wikipedia.org/wiki/Josef_Kates
  4. 4. ● The four meter tall computer allowed exhibition attendees to play a game of tic-tac-toe against an artificial intelligence ● Based on a new revolutionary vacuum-tube technology, the Additron, allowing computers to be 10 times smaller ● The difficulty of the game was adjustable ● The machine was disassembled at the end of the exhibition and largely forgotten as a curiosity Joseph Kates Bertie the Brain - 1950 Canadian National Exhibition Danny Kaye wins a game of tic-tac-toe against Bertie the Brain in 1950. BERNARD HOFFMAN/THE LIFE PICTURE COLLECTION/GETTY IMAGES
  5. 5. Video games timeline 1952 OXO - EDSAC computer 1971 First COIN-OP Galaxy Game 1950 Bertie the Brain 1951 Nimrod 1972 Pong 1972 Magnavox Odyssey First home video game console
  7. 7. ● Released on 12 August 1981 - 39 years ago ● Support multiple operating systems: CP/M-86, UCSD p-System, and an in-house product called IBM PC DOS, developed by Microsoft. ● Built in just 12 months development with a joint effort of designers, engineers and computer hobbyists who helped to shape the open architecture. ● Because none of the functional components were designed by IBM, they obtained no patents on the PC. ● In December 1991, Computer Gaming World reported that DOS accounted for 82% of computer-game sales. IBM PC COMPATIBLE ERA IBM 5151 IBM x86 personal computer Intel 8088
  8. 8. Olivetti M24 Released in 1983 Intel 8086 10 128 KB RAM the most sold machine 1986 Olivetti also became the third largest PC manufacturer worldwide
  9. 9. CASE STUDY
  10. 10. Additron Games ™
  11. 11. We have developed a new revolutionary games engine, capable to play retro games 10x times better than before. Our users can play using a standard web browser, reaching unleashed audio/video performance.Additron Games
  12. 12. Due to increase of platform popularity we need scale to a global footprint, keeping the costs under control. We are also planning to launch a new product, which is an entry-level console with preinstalled games, it should work offline, must be self-healing and it will be cheap for us and our customers. Business requirement
  13. 13. Technical requirement Our platform is Linux based and has a lot of moving parts to orchestrate We spend a lot of time to provision new public/private cloud instances of the platform, which is done with custom scripts We have some APIs to manage the platform but it is almost legacy and complicated to maintain We don't have experience on installing our platform on SoC devices, like Raspberry PIs.
  14. 14. OUR PROPOSAL
  15. 15. Technical requirements ● Automated provisioning of platform and games ● API-first platform ● It works offline ● Autoscaling - Self healing ● It works on low-end devices ● It can be installed on public/private cloud
  16. 16. ● Container orchestration platform + networking ● CRD (Custom Resources Definition) is a powerful feature which enables users to add their own/custom objects to the Kubernetes cluster and use it like any other native Kubernetes objects ● Configmap: API object used to store non-confidential data in key-value pairs with a maximum capacity of 1MB ● K3S: Lightweight and fully compliant Kubernetes. Easy to install, half the memory, all in a binary of less than 100 MB. Kubernetes API Kubernetes
  17. 17. GAME CRD
  18. 18. DEMO TIME