<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN"
        "https://jats.nlm.nih.gov/publishing/1.4/JATS-journalpublishing1-4.dtd">
<article  article-type="research-article"        dtd-version="1.4">
            <front>

                <journal-meta>
                                                                <journal-id>saujs</journal-id>
            <journal-title-group>
                                                                                    <journal-title>Sakarya University Journal of Science</journal-title>
            </journal-title-group>
                                        <issn pub-type="epub">2147-835X</issn>
                                                                                            <publisher>
                    <publisher-name>Sakarya University</publisher-name>
                </publisher>
                    </journal-meta>
                <article-meta>
                                        <article-id pub-id-type="doi">10.16984/saufenbilder.283293</article-id>
                                                                <article-categories>
                                            <subj-group  xml:lang="en">
                                                            <subject>Engineering</subject>
                                                    </subj-group>
                                            <subj-group  xml:lang="tr">
                                                            <subject>Mühendislik</subject>
                                                    </subj-group>
                                    </article-categories>
                                                                                                                                                        <title-group>
                                                                                                                        <trans-title-group xml:lang="tr">
                                    <trans-title>HTML5 Tabanlı Oyunlar İçin Yapay Zeka Kütüphanesi: DignityAI</trans-title>
                                </trans-title-group>
                                                                                                                                                                                                <article-title>Artificial intelligence library for html5 based games: DignityAI</article-title>
                                                                                                    </title-group>
            
                                                    <contrib-group content-type="authors">
                                                                        <contrib contrib-type="author">
                                                                <name>
                                    <surname>Uslu</surname>
                                    <given-names>Berkan</given-names>
                                </name>
                                                            </contrib>
                                                    <contrib contrib-type="author">
                                                                <name>
                                    <surname>Küçüksille</surname>
                                    <given-names>Ecir Uğur</given-names>
                                </name>
                                                            </contrib>
                                                                                </contrib-group>
                        
                                        <pub-date pub-type="pub" iso-8601-date="20170131">
                    <day>01</day>
                    <month>31</month>
                    <year>2017</year>
                </pub-date>
                                        <volume>21</volume>
                                        <issue>1</issue>
                                        <fpage>1</fpage>
                                        <lpage>15</lpage>
                        
                        <history>
                                    <date date-type="received" iso-8601-date="20160421">
                        <day>04</day>
                        <month>21</month>
                        <year>2016</year>
                    </date>
                                                    <date date-type="accepted" iso-8601-date="20160808">
                        <day>08</day>
                        <month>08</month>
                        <year>2016</year>
                    </date>
                            </history>
                                        <permissions>
                    <copyright-statement>Copyright © 1997, Sakarya University Journal of Science</copyright-statement>
                    <copyright-year>1997</copyright-year>
                    <copyright-holder>Sakarya University Journal of Science</copyright-holder>
                </permissions>
            
                                                                                                <trans-abstract xml:lang="tr">
                            <p>Günümüzde internetin hızlanması,uygulamaların birçoğunun internet ortama taşınmasına neden olmuştur. Web sayfalarının bu kadar etkin olarakkullanılması, her uygulamanın her tarayıcıda herhangi bir plugin gerektirmedensorunsuzca çalışması gerekliliğini ortaya çıkarmıştır. İşte bu noktada HTML5,geliştiricilerin yardımına koşan bir standart olarak ortaya çıkmıştır. HTML5genel olarak, CSS ve Javascript&#039;in birleşimi ile oluşan yeni bir standartlarbütünüdür. İnternet ortamına aktarılan uygulamaların bir tanesi deoyunlardır. Bu noktada, HTML5 için geliştirilen oyun motorları incelenerek;özellikleri, sundukları olanaklar araştırılmıştır. Bu oyun motorları; popüleroyun motorlarının seviyesini yakalamaya yakın olmalarına rağmen, herhangi biryapay zeka kütüphanesinin şimdiye kadar HTML5 tabanlı oyunlar içingeliştirilmemiş olduğu görülmüştür. Bu çalışmada, söz konusu eksikliği gidermekamacı ile DignityAI yapay zeka kütüphanesi geliştirilmiştir. Geliştirilenkütüphane, oyun motorundan bağımsız olarak tüm HTML5 oyunlarına entegreedilebilen ve bu oyunlara yapay zeka dinamiklerini katabilme yeteneğine sahipbir kütüphanedir.</p></trans-abstract>
                                                                                                                                    <abstract><p>Today, acceleration of internet and common use of web pages, revealed the necessity of work with any browser smoothlyfor each application without of requirement of any plug-in. Generally, HTML5 is a new body of standards which is formedwith the combination of CSS and JavaScript. In this context, by analysing game engines developed for HTML5, theirfeatures and advantages are investigated. Although, these game engines are close to catch up with the level of populargame engines, it is seen that none of artificial intelligence library was developed for HTML5 based games up to now. Inthis study, DignityAI artificial intelligence library is developed to fill this deficiency. Developed library has ability to beintegrated to all HTML5 games independently from game engine and to add artificial intelligence dynamics to thesegames.</p></abstract>
                                                            
            
                                                                                        <kwd-group>
                                                    <kwd>HTML5</kwd>
                                                    <kwd>  WebGL</kwd>
                                                    <kwd>  Artificial Intelligence Library</kwd>
                                                    <kwd>  DignityAI</kwd>
                                                    <kwd>  Computer Games</kwd>
                                            </kwd-group>
                            
                                                <kwd-group xml:lang="tr">
                                                    <kwd>HTML5</kwd>
                                                    <kwd>  WebGL</kwd>
                                                    <kwd>  Yapay Zeka Kütüphanesi</kwd>
                                                    <kwd>  DignityAI</kwd>
                                                    <kwd>  Bilgisayar Oyunları</kwd>
                                            </kwd-group>
                                                                                                                                        </article-meta>
    </front>
    <back>
                            <ref-list>
                                    <ref id="ref1">
                        <label>1</label>
                        <mixed-citation publication-type="journal">[1] 	J. Wexler, «Artificial Intelligence in Games: A look at the smarts behind Lionhead Studio’s “Black and White” and where it can and will go in the future,» 2002. [Çevrimiçi]. Available: http://www.cs.rochester.edu/~brown/242/assts/termprojs/games.pdf. [%1 tarihinde erişilmiştir19 April 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref2">
                        <label>2</label>
                        <mixed-citation publication-type="journal">[2] 	Z. Middleton, «Case History: The Evolution of Artificial Intelligence in Computer Games,» 2002. [Çevrimiçi]. Available: http://web.stanford.edu/group/htgg/sts145papers/zmiddleton_2002_1.pdf. [Accessed 19 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref3">
                        <label>3</label>
                        <mixed-citation publication-type="journal">[3] 	M. Stall, «My baby, the finite state machine,» 2006. [Çevrimiçi]. Available: http://blogs.msdn.com/b/jmstall/archive/2006/09/13/baby-state-machine.aspx. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref4">
                        <label>4</label>
                        <mixed-citation publication-type="journal">[4] 	B. Schwab, AI game engine programming, Boston, Massachusetts: Cengage Learning, 2009.</mixed-citation>
                    </ref>
                                    <ref id="ref5">
                        <label>5</label>
                        <mixed-citation publication-type="journal">[5] 	P. Lubbers, B. Albers ve F. Salim, Pro HTML5 programming, New York: Apress, 2011.</mixed-citation>
                    </ref>
                                    <ref id="ref6">
                        <label>6</label>
                        <mixed-citation publication-type="journal">[6] 	A. Freeman, The Definitive Guide to HTML5, New York: Apress, 2011.</mixed-citation>
                    </ref>
                                    <ref id="ref7">
                        <label>7</label>
                        <mixed-citation publication-type="journal">[7] 	T. Parisi, WebGL: up and running, California: O&#039;Reilly Media, 2012.</mixed-citation>
                    </ref>
                                    <ref id="ref8">
                        <label>8</label>
                        <mixed-citation publication-type="journal">[8] 	S. Rabin, AI Game Programming Wisdom, Newton Centre: Charles River Media, 2002.</mixed-citation>
                    </ref>
                                    <ref id="ref9">
                        <label>9</label>
                        <mixed-citation publication-type="journal">[9] 	K. Compton and M. Mateas, &quot;Procedural Level Design for Platform Games,&quot; in In Proceedings Of The Second Artificial Intelligence And Interactive Digital Entertainment Conference, California, 2006.</mixed-citation>
                    </ref>
                                    <ref id="ref10">
                        <label>10</label>
                        <mixed-citation publication-type="journal">[10] 	D. Beirne, &quot;Racing Game AI: An Investigation into AI Techniques for Motorsport Simulation Games,&quot; 2007. [Online]. Available: http://www.mygamedemos.com/Abertay/David%20Beirne%20CS%201130A%20Artificial%20Intelligence%20for%20Games%20-%20Racing%20Game%20AI.pdf. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref11">
                        <label>11</label>
                        <mixed-citation publication-type="journal">[11] 	J. Gordon, «A finite state machine javascript micro framework. Github Repository,» 2011. [Çevrimiçi]. Available: https://github.com/jakesgordon/javascript-state-machine. [Accessed  21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref12">
                        <label>12</label>
                        <mixed-citation publication-type="journal">[12] 	J. Cowart, «js ex machina - finite state machines in JavaScript. Github Repository,» 2012. [Çevrimiçi]. Available: https://github.com/ifandelse/machina.js. [Accessed  21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref13">
                        <label>13</label>
                        <mixed-citation publication-type="journal">[13] 	X. Xu, «A comprehensive path-finding library for grid based games. Github Repository,» 2011. [Çevrimiçi]. Available: https://github.com/qiao/PathFinding.js. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref14">
                        <label>14</label>
                        <mixed-citation publication-type="journal">[14] 	A. Subagio, Learning Construct 2: Design and create your own engaging, extensible and addictive game using Construct 2, Birmingham: Packt Publishing, 2014.</mixed-citation>
                    </ref>
                                    <ref id="ref15">
                        <label>15</label>
                        <mixed-citation publication-type="journal">[15] 	D. Cielen ve A. Meysman, HTML5 Game Development with ImpactJS: A step-by-step guide to developing your own 2D games, Birmingham: Packt Publishing, 2013.</mixed-citation>
                    </ref>
                                    <ref id="ref16">
                        <label>16</label>
                        <mixed-citation publication-type="journal">[16] 	B. Bibat, &quot;HTML 5 Shoot’em Up in an Afternoon: Learn (or teach) the basics of Game Programming with this free Phaser tutorial,&quot; 2014. [Online]. Available: https://leanpub.com/html5shootemupinanafternoon/read. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref17">
                        <label>17</label>
                        <mixed-citation publication-type="journal">[17] 	P. Kashyap, «Investigation into the use of HTML 5 game engines to create a responsive social educational game for children,» 2015. [Çevrimiçi]. Available: https://espace.cdu.edu.au/eserv/cdu:46185/Thesis_CDU_46185_Kashyap_P.pdf. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref18">
                        <label>18</label>
                        <mixed-citation publication-type="journal">[18] 	B. McInnis, R. Shimizu, H. Furukawa, R. Fushimi, R. Tanaka ve K. Kratzer, HTML5 Game Programming with enchant.js, New York: Apress, 2013.</mixed-citation>
                    </ref>
                                    <ref id="ref19">
                        <label>19</label>
                        <mixed-citation publication-type="journal">[19] 	B. Uslu, «DignityAI - AI Library for HTML5 Games. Github Repository,» 2015. [Çevrimiçi]. Available: https://github.com/berkanuslu/dignityai. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                                    <ref id="ref20">
                        <label>20</label>
                        <mixed-citation publication-type="journal">[20] 	B. Uslu, «DignityAI Demo 1: Tanx AI. Github Repository,» 2015. [Çevrimiçi]. Available: https://github.com/berkanuslu/dignity_tank. [Accessed 21 04 2016].</mixed-citation>
                    </ref>
                            </ref-list>
                    </back>
    </article>
