Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Christopher Reimer Newsgroups: comp.lang.python Subject: Re: How to become more motivated to learn Python Date: Tue, 03 May 2016 20:39:16 -0700 Lines: 36 Message-ID: References: <1780e532-e316-4d9f-951d-cc9147209e97@googlegroups.com> <57295AA0.6080203@icloud.com> <57296EE4.6070001@icloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de vWPZJjS+RPhqnwKq1FtgNgC9PVpcDFvfb5a5YUqNRLyw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.128 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.75; '*S*': 0.00; 'subject:Python': 0.05; 'subject:How': 0.09; 'implemented.': 0.09; 'development?': 0.16; 'dfs': 0.16; 'license.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'tests.': 0.18; 'java': 0.22; 'header:User-Agent:1': 0.26; 'chris': 0.26; 'pieces': 0.27; 'received:17': 0.27; 'interface': 0.29; "i'm": 0.30; 'board': 0.30; 'code': 0.30; 'post': 0.31; 'received:10.0.0': 0.32; "i'll": 0.33; 'received:10.0': 0.34; 'unit': 0.35; 'list,': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'display': 0.37; 'feedback': 0.38; 'thank': 0.38; 'along': 0.39; 'to:addr:python.org': 0.40; 'future': 0.60; 'header:MIME-version:1': 0.60; 'your': 0.60; 'subject:more': 0.61; 'engine': 0.62; 'back': 0.62; 'charset:windows-1252': 0.62; 'more': 0.63; 'between': 0.65; 'state,': 0.66; 'forth': 0.79; 'header:In-reply-to:1': 0.84; 'moves': 0.84; 'subject:learn': 0.84; 'text-based': 0.84 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-05-04_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1605040053 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-reply-to: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1462333155; bh=zYgpFaKmJcJWwGc8Bc+MBqH6u+nHFIeLuxwQsOjOHGU=; h=Subject:To:From:Message-id:Date:MIME-version:Content-type; b=LQH9ib1IWw767rGkG5AEUBwUCy4sp8e8Qlv3WykHj5C3D40qDQbnUS+1LCVQXNdLI aPRtiqsHA9ySSbJWM0ipY8jAR5q8FhohVkselbQn1r6eYYuT9x8pbizcnizvPu7IEL kN0uZChFOcw0H1orMk15cnyW5956RS76Mmqicwe4Ym4UCMHp2u4srv2rUkyX1rwYsD COhsEMzm8FsN+1UNXgfEdJ2yKrj53RChhMpBqhHVJ4OQGig/2Jp1qaGRs8BHdLr9Vg t8FFpOlSwH+7OTZot276QFX5DSK5T9SEI2iTkcnsXrrEjLGn/ppeEwv1vPoh/ZBkJm xtLl25yAFSFIQ== X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <57296EE4.6070001@icloud.com> X-Mailman-Original-References: <1780e532-e316-4d9f-951d-cc9147209e97@googlegroups.com> <57295AA0.6080203@icloud.com> Xref: csiph.com comp.lang.python:108114 On 5/3/2016 8:00 PM, DFS wrote: > How far along are you in your engine development? I can display a text-based chess board on the console (looks better with a mono font). 8 BR BN BB BQ BK BB BN BR 7 BP BP BP BP BP BP BP BP 6 __ __ __ __ __ __ __ __ 5 __ __ __ __ __ __ __ __ 4 __ __ __ __ __ __ __ __ 3 __ __ __ __ __ __ __ __ 2 WP WP WP WP WP WP WP WP 1 WR WN WB WQ WK WB WN WR A B C D E F G H With feedback from this list, I had to break a lot of bad Java habits to make the code more Pythonic. Right now I'm going back and forth between writing documentation and unit tests. Once I finalized the code in its current state, I'll post it up on GitHub under the MIT license. Future updates will have a fuller console interface and moves for individual pieces implemented. Thank you, Chris R.